Skip to content

Commit

Permalink
chore: use client directive to NextJS support TET-487
Browse files Browse the repository at this point in the history
  • Loading branch information
adrian-potepa committed Nov 22, 2023
1 parent d409bdb commit 0032148
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ export default defineConfig({
react: 'React',
'react-dom': 'ReactDOM',
},
banner() {
return `'use client';`;
},
},
},
},
Expand Down

0 comments on commit 0032148

Please sign in to comment.