From c671dad0abb55416b6063d01e9a67c3f7cbd7005 Mon Sep 17 00:00:00 2001 From: Jaied Al Sabid <87969327+jaieds@users.noreply.github.com> Date: Mon, 18 Nov 2024 12:57:59 +0600 Subject: [PATCH] Use `use client` directive for the Nextjs --- src/components/index.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/components/index.ts b/src/components/index.ts index 990b5edd..1ec4b16a 100644 --- a/src/components/index.ts +++ b/src/components/index.ts @@ -1,3 +1,5 @@ +'use client'; + export { default as Button } from './button'; export { default as Switch } from './switch'; export { default as Checkbox } from './checkbox';