diff options
author | Jan200101 <sentrycraft123@gmail.com> | 2024-08-04 23:40:57 +0200 |
---|---|---|
committer | Jan200101 <sentrycraft123@gmail.com> | 2024-08-04 23:40:57 +0200 |
commit | 2d5e71e77edc00c9378f5a936825f48d8f895fab (patch) | |
tree | ff5f47c644b66c4919b75a8cfb7f99c82b09f9ae /src/app | |
parent | 09b7d16086595b1ba039ecf1c1b904a6e0948d12 (diff) | |
download | Viper-2d5e71e77edc00c9378f5a936825f48d8f895fab.tar.gz Viper-2d5e71e77edc00c9378f5a936825f48d8f895fab.zip |
fix: call correct method for renderer ipc toast event
Diffstat (limited to 'src/app')
-rw-r--r-- | src/app/js/toasts.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/app/js/toasts.js b/src/app/js/toasts.js index 83ddf6a..bd9d03a 100644 --- a/src/app/js/toasts.js +++ b/src/app/js/toasts.js @@ -75,7 +75,7 @@ toasts.dismiss = (id) => { } ipcRenderer.on("toast", (_, properties) => { - Toast(properties); + toasts.show(properties); }) module.exports = toasts; |