fix(store): check if state option is typeof undefined before setting (not just false-ish)

update: export useWindow
update: remove logs from useHandle
Signed-off-by: Braks <78412429+bcakmakoglu@users.noreply.github.com>
This commit is contained in:
Braks
2021-11-25 15:21:36 +01:00
parent 9e941966a4
commit 5ceee98e9b
3 changed files with 33 additions and 32 deletions
-1
View File
@@ -145,7 +145,6 @@ export default (store = useStore()) =>
validConnectFunc,
doc,
)
console.log(isValidConnection)
store.hooks.connectStop.trigger(event)