From a0b007c81ff4a2dc5d60a3aa2f487aef34fa2ab8 Mon Sep 17 00:00:00 2001 From: SeieunYoo Date: Sun, 2 Jun 2024 03:25:01 +0900 Subject: [PATCH] =?UTF-8?q?feat=20:=20use=20client=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/wow-docs/app/page.tsx | 2 -- packages/wow-ui/src/components/Checkbox/index.tsx | 2 ++ packages/wow-ui/src/hooks/useCheckedState.ts | 1 - 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/apps/wow-docs/app/page.tsx b/apps/wow-docs/app/page.tsx index 6f3fc766..1b8b6e94 100644 --- a/apps/wow-docs/app/page.tsx +++ b/apps/wow-docs/app/page.tsx @@ -1,5 +1,3 @@ -"use client"; - import { css } from "@styled-system/css/css"; import Switch from "wowds-ui/Switch"; diff --git a/packages/wow-ui/src/components/Checkbox/index.tsx b/packages/wow-ui/src/components/Checkbox/index.tsx index e52145d9..dfc63a79 100644 --- a/packages/wow-ui/src/components/Checkbox/index.tsx +++ b/packages/wow-ui/src/components/Checkbox/index.tsx @@ -1,3 +1,5 @@ +"use client"; + import { cva } from "@styled-system/css"; import { styled } from "@styled-system/jsx"; import type { diff --git a/packages/wow-ui/src/hooks/useCheckedState.ts b/packages/wow-ui/src/hooks/useCheckedState.ts index a31bebc3..cc3771db 100644 --- a/packages/wow-ui/src/hooks/useCheckedState.ts +++ b/packages/wow-ui/src/hooks/useCheckedState.ts @@ -1,4 +1,3 @@ -"use client"; import type { KeyboardEvent } from "react"; import { useEffect, useState } from "react";