mirror of
https://github.com/wavetermdev/waveterm
synced 2026-05-23 08:48:28 +00:00
remove unnecessary set
This commit is contained in:
parent
467e151aca
commit
f13b608e79
1 changed files with 0 additions and 3 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue