Skip to content

Commit 21145ff

Browse files
committed
return type
1 parent 8b2e3df commit 21145ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

client/modules/IDE/hooks/useWhatPage.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ const useWhatPage = () => {
2222
else if (pathname === '/account') return 'account';
2323
else if (pathname === '/p5/collections' || pathname === '/p5/sketches')
2424
return 'examples';
25-
return projectName;
25+
return 'home';
2626
}, [pathname, username]);
2727

2828
return pageName;

0 commit comments

Comments
 (0)