mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-14 14:34:09 +00:00
fixed infinite loading in dashboard
This commit is contained in:
@@ -188,6 +188,9 @@ export default function Dashboard() {
|
||||
|
||||
useEffect(() => {
|
||||
(async () => {
|
||||
if(router.isReady && workspaceId === "undefined"){
|
||||
router.push('/noprojects');
|
||||
}
|
||||
try {
|
||||
const tempNumSnapshots = await getProjectSercetSnapshotsCount({
|
||||
workspaceId
|
||||
|
||||
Reference in New Issue
Block a user