Hotfix: fn was passed wrong params

This commit is contained in:
2024-02-01 15:17:05 +01:00
parent f68e89b08e
commit 82d895cd6a

View File

@@ -81,7 +81,7 @@ export const updateOrAddLocation = withUser(async (user:AuthenticatedUser, locat
});
}
await gotoHome(yearMonth ? `/?year=${yearMonth?.year}` : undefined)
if(yearMonth) await gotoHome(yearMonth);
return {
message: null,