We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dd9d8ab commit ab9807bCopy full SHA for ab9807b
frontend/src/components/Topics/List/ListPage.tsx
@@ -31,7 +31,7 @@ const ListPage: React.FC = () => {
31
if (stored === null) localStorage.setItem('hideInternalTopics', 'true');
32
} else {
33
// sync localStorage if URL has it set
34
- const raw = searchParams.get('hideInternal');
+ const raw = searchParams.get('hideInternal');
35
const norm = raw === 'true' || raw === 'false' ? raw : 'true'; // default to true if malformed
36
localStorage.setItem('hideInternalTopics', norm);
37
if (norm !== raw) searchParams.set('hideInternal', norm); // sync URL if malformed
0 commit comments