fix: add platform abstraction for deeplink (#251)
* fix: add platform abstraction for deeplink This was crashing App.tsx due to the deep link listener calling methods on window which do not exist. * fix: apply CodeRabbit auto-fixes Fixed 1 file(s) based on 1 unresolved review comment. Co-authored-by: CodeRabbit <[email protected]> * log error --------- Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> Co-authored-by: CodeRabbit <[email protected]>
This commit was merged in pull request #251.
This commit is contained in:
co-authored by
CodeRabbit
coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
parent
a94a986fbf
commit
f38835ceee
@@ -30,8 +30,7 @@ export default function NetworkRoot() {
|
||||
setSearchParams(
|
||||
(prev) => {
|
||||
const params = new URLSearchParams(prev);
|
||||
if (next === 'open') params.delete('status');
|
||||
else params.set('status', next);
|
||||
params.set('status', next);
|
||||
return params;
|
||||
},
|
||||
{ replace: true },
|
||||
@@ -56,7 +55,6 @@ export default function NetworkRoot() {
|
||||
|
||||
return (
|
||||
<div className="relative flex min-h-0 flex-1 flex-col">
|
||||
{/* Top bar — stays in place */}
|
||||
<div className="flex shrink-0 items-center p-1 border-b">
|
||||
<Tabs
|
||||
value={statusTab}
|
||||
@@ -75,7 +73,6 @@ export default function NetworkRoot() {
|
||||
</Tabs>
|
||||
</div>
|
||||
|
||||
{/* Scrollable content */}
|
||||
<div className="min-h-0 flex-1 overflow-y-auto overscroll-contain pb-14 py-2">
|
||||
<ParticleListView
|
||||
streams={streams}
|
||||
|
||||
Reference in New Issue
Block a user