mirror of
https://github.com/pmndrs/zustand.git
synced 2025-12-08 19:45:52 +00:00
fix: do not use optional catch binding syntax (#1431)
This commit is contained in:
parent
7f79df4b04
commit
f548963992
@ -160,7 +160,7 @@ const devtoolsImpl: DevtoolsImpl =
|
||||
try {
|
||||
extensionConnector =
|
||||
(enabled ?? __DEV__) && window.__REDUX_DEVTOOLS_EXTENSION__
|
||||
} catch {
|
||||
} catch (e) {
|
||||
// ignored
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user