Skip to content

Commit

Permalink
fix tauri type errors
Browse files Browse the repository at this point in the history
  • Loading branch information
avoonix committed Nov 7, 2023
1 parent 7b17ace commit 1f27869
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/misc/util/url.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export const getE6PostUrl = (id: number) => {

export const openUrlInNewTab = (url: string) => {
if ("__TAURI__" in window) {
window.__TAURI__.shell.open(url);
(window as any).__TAURI__.shell.open(url);
return;
}
const win = window.open(url, "_blank", "noopener");
Expand Down

1 comment on commit 1f27869

@vercel
Copy link

@vercel vercel bot commented on 1f27869 Nov 7, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

material-e621 – ./

material-e621-avoonix.vercel.app
material-e621-git-master-avoonix.vercel.app
material-e621.vercel.app

Please sign in to comment.