Hotfix: fn was passed wrong params
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user