From 1df990e79ad96449929c7b3f05284a9629dec471 Mon Sep 17 00:00:00 2001 From: Nikola Hristov Date: Sun, 17 Dec 2023 08:32:20 +0200 Subject: [PATCH] squash! --- Source/Element/Corner.tsx | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/Source/Element/Corner.tsx b/Source/Element/Corner.tsx index 8d5eae7..f9383ab 100644 --- a/Source/Element/Corner.tsx +++ b/Source/Element/Corner.tsx @@ -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) => (