chore: removed logs, added comments

This commit is contained in:
Akhileshrangani4
2024-09-01 20:06:11 -04:00
parent f683ff6480
commit 1d92b6ea6f
3 changed files with 2 additions and 11 deletions

View File

@ -49,10 +49,8 @@ export default function Dashboard({
const q = searchParams.get("q")
const router = useRouter()
useEffect(() => {
// if (!sandboxes) {
router.refresh() // fix: update the dashboard to show the new project
// }
useEffect(() => { // update the dashboard to show a new project
router.refresh()
}, [sandboxes])
return (