From f13b608e795183dff546c6f8bdd6987e03fbba17 Mon Sep 17 00:00:00 2001 From: Evan Simkowitz Date: Tue, 10 Sep 2024 14:49:20 -0700 Subject: [PATCH] remove unnecessary set --- frontend/app/view/webview/webview.tsx | 3 --- 1 file changed, 3 deletions(-) diff --git a/frontend/app/view/webview/webview.tsx b/frontend/app/view/webview/webview.tsx index 4802c7e51..6f616220d 100644 --- a/frontend/app/view/webview/webview.tsx +++ b/frontend/app/view/webview/webview.tsx @@ -53,9 +53,6 @@ export class WebViewModel implements ViewModel { this.viewText = jotai.atom((get) => { let url = get(this.blockAtom)?.meta?.url || ""; - if (url && get(this.url) === undefined) { - globalStore.set(this.url, url); - } const urlIsDirty = get(this.isUrlDirty); if (urlIsDirty) { const currUrl = get(this.url);