mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-03-21 17:09:37 +01:00
Filesystem Sync (#142)
This commit is contained in:
@@ -12,7 +12,7 @@ export function RedirectToLatestWorkspace() {
|
||||
const navigate = useNavigate();
|
||||
|
||||
useEffect(() => {
|
||||
if (workspaces.length === 0) {
|
||||
if (workspaces.length === 0 || recentWorkspaces == null) {
|
||||
console.log('No workspaces found to redirect to. Skipping.');
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user