fix: files not loading when creating a new project

This push contains console logs at various places where the server is emitting the event and the client is receiving the event. Please remove those before merging with production.
This commit is contained in:
Akhileshrangani4
2024-08-31 20:31:20 -04:00
parent 2da60ff4e4
commit f683ff6480
3 changed files with 17 additions and 7 deletions

View File

@ -50,9 +50,9 @@ export default function Dashboard({
const router = useRouter()
useEffect(() => {
if (!sandboxes) {
router.refresh()
}
// if (!sandboxes) {
router.refresh() // fix: update the dashboard to show the new project
// }
}, [sandboxes])
return (