From fe4f05b292447d8701c1e923b6b6b4627d9243ba Mon Sep 17 00:00:00 2001 From: Mohammad Cheikh Date: Tue, 17 Dec 2024 10:12:35 -0500 Subject: [PATCH] add use client directive to TurnkeyThemeProvider --- packages/sdk-react/src/components/auth/TurnkeyThemeProvider.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/sdk-react/src/components/auth/TurnkeyThemeProvider.tsx b/packages/sdk-react/src/components/auth/TurnkeyThemeProvider.tsx index 32be740b..3321da6b 100644 --- a/packages/sdk-react/src/components/auth/TurnkeyThemeProvider.tsx +++ b/packages/sdk-react/src/components/auth/TurnkeyThemeProvider.tsx @@ -1,3 +1,5 @@ +"use client"; + import React, { createContext, useContext, useEffect } from "react"; const ThemeContext = createContext | null>(null);