remove unnecessary set

This commit is contained in:
Evan Simkowitz 2024-09-10 14:49:20 -07:00
parent 467e151aca
commit f13b608e79
No known key found for this signature in database

View File

@ -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);