prevent showing error dialog and code loading

This commit is contained in:
Roman Volosovskyi 2019-06-10 12:39:56 +03:00
parent 3bd0947b4c
commit 9f8ab373f8
No known key found for this signature in database
GPG Key ID: 0238A4B5ECEE70DE
2 changed files with 2 additions and 8 deletions

View File

@ -55,10 +55,7 @@
(fn []
(.stop (react/http-bridge))
(.removeEventListener (react/app-state) "change" app-state-change-handler)
(.removeEventListener rn-dependencies/react-native-languages "change" on-languages-change)
(.removeEventListener (rn-dependencies/react-native-shake)
"ShakeEvent"
on-shake))
(.removeEventListener rn-dependencies/react-native-languages "change" on-languages-change))
:display-name "root"
:reagent-render views/main})))

View File

@ -51,10 +51,7 @@
(fn []
(.stop (react/http-bridge))
(.removeEventListener (react/app-state) "change" app-state-change-handler)
(.removeEventListener rn-dependencies/react-native-languages "change" on-languages-change)
(.removeEventListener (rn-dependencies/react-native-shake)
"ShakeEvent"
on-shake))
(.removeEventListener rn-dependencies/react-native-languages "change" on-languages-change))
:display-name "root"
:reagent-render views/main})))