From 7227b10bc1fb9d2d414762921d395735d0c80fb5 Mon Sep 17 00:00:00 2001 From: yourfriendoss <81387799+yourfriendoss@users.noreply.github.com> Date: Thu, 1 Jun 2023 13:12:20 +0300 Subject: [PATCH] error is supposed to be expected here --- src/components/Settings.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/Settings.tsx b/src/components/Settings.tsx index 97f0fd0..6433f09 100644 --- a/src/components/Settings.tsx +++ b/src/components/Settings.tsx @@ -68,6 +68,7 @@ export default function Settings() { if (phase.current === 0) { const token = await generateToken(); localStorage.temporaryToken = token; + //@ts-expect-error if(window.__TAURI__) { //@ts-expect-error window.__TAURI__.shell.open(`https://last.fm/api/auth/?api_key=${lastFmApiKey}&token=${token}`);