mirror of
https://github.com/kamranahmedse/developer-roadmap.git
synced 2026-09-24 15:00:31 +08:00
Set last page to home if not exists
This commit is contained in:
+1
-1
@@ -46,7 +46,7 @@ export function getLastPath() {
|
||||
return;
|
||||
}
|
||||
|
||||
return localStorage.getItem(LAST_PATH_KEY) || '';
|
||||
return localStorage.getItem(LAST_PATH_KEY) || 'home';
|
||||
}
|
||||
|
||||
type UtmParams = Partial<{
|
||||
|
||||
Reference in New Issue
Block a user