Skip to content

Commit

Permalink
error is supposed to be expected here
Browse files Browse the repository at this point in the history
  • Loading branch information
fucksophie committed Jun 1, 2023
1 parent 48b90df commit 7227b10
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/Settings.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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}`);
Expand Down

0 comments on commit 7227b10

Please sign in to comment.