Skip to content

Commit 265bdae

Browse files
committed
feat: initialize Flowbite theme provider in main entry point
1 parent 47e2ac0 commit 265bdae

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/main.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import '@/utils/i18n';
55
import '@/utils/blockly-global'; // Expose Blockly globally for external plugins
66
import App from '@/App.tsx';
77
import { GoogleOAuthProvider } from '@react-oauth/google';
8+
import { ThemeInit } from '../.flowbite-react/init';
89

910
function Root() {
1011
const [googleClientId, setGoogleClientId] = useState<string | null>(null);
@@ -34,6 +35,7 @@ function Root() {
3435

3536
return (
3637
<StrictMode>
38+
<ThemeInit />
3739
<GoogleOAuthProvider clientId={googleClientId}>
3840
<App />
3941
</GoogleOAuthProvider>

0 commit comments

Comments
 (0)