mirror of
https://github.com/wavetermdev/backup.git
synced 2026-08-05 13:57:07 -07:00
remove unnecessary set
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user