fix: frontend monaco theme

fix: drizzle migrations folder
This commit is contained in:
Anirudh
2025-01-07 04:01:45 +00:00
parent 996eb4339e
commit 1eb17a0ac5
9 changed files with 494 additions and 12 deletions

View File

@ -62,7 +62,7 @@ export default function CodeEditor({
//SocketContext functions and effects
const { socket, setUserAndSandboxId } = useSocket()
// theme
const { theme } = useTheme()
const { resolvedTheme: theme } = useTheme()
useEffect(() => {
// Ensure userData.id and sandboxData.id are available before attempting to connect
if (userData.id && sandboxData.id) {

View File

@ -53,7 +53,7 @@
"lucide-react": "^0.365.0",
"monaco-themes": "^0.4.4",
"next": "14.1.3",
"next-themes": "^0.3.0",
"next-themes": "^0.4.4",
"openai": "^4.73.1",
"posthog-js": "^1.147.0",
"react": "^18.3.1",
@ -7420,12 +7420,13 @@
}
},
"node_modules/next-themes": {
"version": "0.3.0",
"resolved": "https://registry.npmjs.org/next-themes/-/next-themes-0.3.0.tgz",
"integrity": "sha512-/QHIrsYpd6Kfk7xakK4svpDI5mmXP0gfvCoJdGpZQ2TOrQZmsW0QxjaiLn8wbIKjtm4BTSqLoix4lxYYOnLJ/w==",
"version": "0.4.4",
"resolved": "https://registry.npmjs.org/next-themes/-/next-themes-0.4.4.tgz",
"integrity": "sha512-LDQ2qIOJF0VnuVrrMSMLrWGjRMkq+0mpgl6e0juCLqdJ+oo8Q84JRWT6Wh11VDQKkMMe+dVzDKLWs5n87T+PkQ==",
"license": "MIT",
"peerDependencies": {
"react": "^16.8 || ^17 || ^18",
"react-dom": "^16.8 || ^17 || ^18"
"react": "^16.8 || ^17 || ^18 || ^19 || ^19.0.0-rc",
"react-dom": "^16.8 || ^17 || ^18 || ^19 || ^19.0.0-rc"
}
},
"node_modules/next/node_modules/postcss": {

View File

@ -54,7 +54,7 @@
"lucide-react": "^0.365.0",
"monaco-themes": "^0.4.4",
"next": "14.1.3",
"next-themes": "^0.3.0",
"next-themes": "^0.4.4",
"openai": "^4.73.1",
"posthog-js": "^1.147.0",
"react": "^18.3.1",