Skip to content

Commit

Permalink
refactor(ui): add 'use client' directives to client-only components (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
suneettipirneni authored Apr 7, 2023
1 parent 24f2802 commit c519fe6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/ui/src/lib/components/Alert.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
'use client';

import { VscFlame } from '@react-icons/all-files/vsc/VscFlame';
import { VscInfo } from '@react-icons/all-files/vsc/VscInfo';
import { VscWarning } from '@react-icons/all-files/vsc/VscWarning';
Expand Down
2 changes: 2 additions & 0 deletions packages/ui/src/lib/components/Section.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
'use client';

import { VscChevronDown } from '@react-icons/all-files/vsc/VscChevronDown';
import { Disclosure, DisclosureContent, useDisclosureState } from 'ariakit/disclosure';
import type { PropsWithChildren } from 'react';
Expand Down

0 comments on commit c519fe6

Please sign in to comment.