Skip to content

Commit

Permalink
squash!
Browse files Browse the repository at this point in the history
  • Loading branch information
NikolaRHristov committed Dec 17, 2023
1 parent 501d825 commit 1df990e
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions Source/Element/Corner.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,14 @@ declare global {
}

export const Size = (await import("solid-js")).createSignal(
window.settings.size,
window.settings.size
);

await (await import("@tauri-apps/api/event")).listen(
"size",
async (event: { payload: { message: { Size: number } } }) => {
Size[1](event.payload.message.Size);
},
);
await (
await import("@tauri-apps/api/event")
).listen("size", async (event: { payload: { message: { Size: number } } }) => {
Size[1](event.payload.message.Size);
});

// biome-ignore lint/suspicious/noExplicitAny:
export default async (Property: any) => (
Expand Down

0 comments on commit 1df990e

Please sign in to comment.