Skip to content

Commit dbc22c2

Browse files
Add missing 'use client' directives
1 parent 4b7c3df commit dbc22c2

File tree

7 files changed

+14
-0
lines changed

7 files changed

+14
-0
lines changed

src/components/content-presentation/table/components/TableBody.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
'use client';
2+
13
import classNames from 'classnames';
24
import { type ComponentPropsWithoutRef, type FC } from 'react';
35
import { TableSection, TableSectionContext } from '../TableSectionContext.js';

src/components/form-elements/form/Form.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
'use client';
2+
13
import { type ComponentPropsWithoutRef, type FC } from 'react';
24
import { FormContext } from './FormContext.js';
35

src/components/form-elements/select/Select.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
'use client';
2+
13
import classNames from 'classnames';
24
import { forwardRef, type ComponentPropsWithoutRef } from 'react';
35
import { FormGroup } from '#components/utils/index.js';

src/components/form-elements/text-input/TextInput.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
'use client';
2+
13
import classNames from 'classnames';
24
import { forwardRef, type ComponentPropsWithoutRef, type FC } from 'react';
35
import { FormGroup } from '#components/utils/index.js';

src/components/form-elements/textarea/Textarea.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
'use client';
2+
13
import classNames from 'classnames';
24
import { forwardRef, type ComponentPropsWithoutRef } from 'react';
35
import { FormGroup } from '#components/utils/index.js';

src/components/navigation/card/Card.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
'use client';
2+
13
import classNames from 'classnames';
24
import { forwardRef, type ComponentPropsWithoutRef } from 'react';
35
import {

src/util/hooks/UseDevWarning.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
'use client';
2+
13
import { useEffect } from 'react';
24
import { isDev } from '#util/tools/index.js';
35

0 commit comments

Comments
 (0)