Skip to content

Commit

Permalink
fix(util): openExternal undefined
Browse files Browse the repository at this point in the history
  • Loading branch information
FedeIlLeone committed Oct 28, 2023
1 parent 4ec2cfb commit 6e7c7b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/renderer/util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ export async function goToOrJoinServer(invite: string): Promise<void> {
}

export async function openExternal(url: string): Promise<void> {
const mod = getBySource<(url: string) => Promise<void>>(/href=\w;\w\.target="_blank"/);
const mod = getBySource<(url: string) => Promise<void>>(/href=\w,\w\.target="_blank"/);
if (!mod) {
throw new Error("Could not find openExternal");
}
Expand Down

0 comments on commit 6e7c7b1

Please sign in to comment.