bundled electron app starts without error

This commit is contained in:
Jan Prochazka
2021-12-16 13:25:57 +01:00
parent e636987f31
commit 588b8b23f9
17 changed files with 91 additions and 59 deletions

View File

@@ -39,9 +39,9 @@
$: setDebouncedFilter(filter);
onMount(() => {
socket.on('query-history-changed', reloadItems);
socket().on('query-history-changed', reloadItems);
return () => {
socket.off('query-history-changed', reloadItems);
socket().off('query-history-changed', reloadItems);
};
});
</script>