Skip to content

Commit

Permalink
i dont remember making these changes
Browse files Browse the repository at this point in the history
  • Loading branch information
yofukashino committed May 14, 2024
1 parent 64822e6 commit a97c55a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/renderer/util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ export function forceUpdateElement(selector: string, all = false): void {
const elements = (
all ? [...document.querySelectorAll(selector)] : [document.querySelector(selector)]
).filter(Boolean) as Element[];

// eslint-disable-next-line @typescript-eslint/no-unnecessary-condition -- May not actually have forceUpdate
elements.forEach((element) => getOwnerInstance(element)?.forceUpdate());
}

Expand Down Expand Up @@ -175,7 +175,7 @@ export async function openExternal(url: string): Promise<void> {
if (!mod) {
throw new Error("Could not find openExternal");
}
return await mod(url);
await mod(url);
}

type ValType<T> =
Expand Down

0 comments on commit a97c55a

Please sign in to comment.