feat: organize network settings into tabs #264

Merged
talksik merged 3 commits from worktree-virtual-floating-hamster into main 2026-06-11 17:21:19 +00:00
2 changed files with 10 additions and 4 deletions
Showing only changes of commit c8233c6f0f - Show all commits
+9 -4
View File
1
@@ -184,10 +184,15 @@ export default function NetworkSettingsPage() {
// back navigation. The initial open state was already captured above.
useEffect(() => {
if (searchParams.get('add') !== '1') return;
const next = new URLSearchParams(searchParams);
next.delete('add');
setSearchParams(next, { replace: true });
}, [searchParams, setSearchParams]);
setSearchParams(
(prev) => {
const next = new URLSearchParams(prev);
next.delete('add');
return next;
},
{ replace: true },
);
}, [setSearchParams]);
const networkName = network?.name ?? 'Network';
const memberCount = network?.humans.length ?? 0;
+1
View File
@@ -12,6 +12,7 @@
"resolveJsonModule": true,
"jsx": "react-jsx",
"strict": true,
"ignoreDeprecations": "6.0",
"baseUrl": "./",
"paths": {
"@/*": ["./src/*"]