From 0032148283bd018289dfeeebc1c2d7d36efa4644 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Pot=C4=99pa?= Date: Wed, 22 Nov 2023 09:34:21 +0100 Subject: [PATCH] chore: use client directive to NextJS support TET-487 --- vite.config.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/vite.config.ts b/vite.config.ts index 528333a1..0c2bc385 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -30,6 +30,9 @@ export default defineConfig({ react: 'React', 'react-dom': 'ReactDOM', }, + banner() { + return `'use client';`; + }, }, }, },