Skip to content

Commit 65cae5a

Browse files
committed
fix: Remove TS load error toast from loadMyTokenScript method
1 parent 04af5fa commit 65cae5a

File tree

1 file changed

+0
-6
lines changed
  • javascript/tokenscript-viewer/src/components/viewers/new

1 file changed

+0
-6
lines changed

javascript/tokenscript-viewer/src/components/viewers/new/new-viewer.tsx

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -169,12 +169,6 @@ export class NewViewer {
169169
if (tsMeta.loadType == "url" && new URL(tsMeta.tokenScriptId).hostname === "localhost")
170170
return;
171171

172-
this.showToast.emit({
173-
type: "error",
174-
title: "Failed to load TokenScript",
175-
description: e.message
176-
});
177-
178172
this.myTokenScripts = {...this.myTokenScripts, [tsMeta.tokenScriptId]: tsMeta};
179173
}
180174
}

0 commit comments

Comments
 (0)