Skip to content

Commit

Permalink
squash!
Browse files Browse the repository at this point in the history
  • Loading branch information
NikolaRHristov committed Oct 27, 2023
1 parent 82204ff commit 43bec04
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Source/Index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ await setIgnoreCursorEvents(true);

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

(await import("solid-js/web")).render(
Expand Down

0 comments on commit 43bec04

Please sign in to comment.