Skip to content

Commit

Permalink
fix: added client directive to typewriter components
Browse files Browse the repository at this point in the history
  • Loading branch information
eric-crowell committed Jun 18, 2024
1 parent ce05b6f commit e218a10
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/ui/src/components/Typewriter/Typewriter.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
'use client';

import { useTypewriter } from '@do-ob/ui/hooks';

export interface TypewriterProps extends React.HTMLAttributes<HTMLParagraphElement> {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
'use client';

import { useTypewriter } from '@do-ob/ui/hooks';
import { Input, InputProps } from '@nextui-org/react';

Expand Down
2 changes: 2 additions & 0 deletions packages/ui/src/hooks/useTypewriter.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
'use client';

import React from 'react';

type State = {
Expand Down

0 comments on commit e218a10

Please sign in to comment.