Lint
This commit is contained in:
parent
f7f51e7909
commit
72410d1f28
|
@ -9,7 +9,9 @@ export function createNavigationStore() {
|
||||||
|
|
||||||
const init = gotoFunc => {
|
const init = gotoFunc => {
|
||||||
if (typeof gotoFunc !== "function") {
|
if (typeof gotoFunc !== "function") {
|
||||||
throw new Error(`gotoFunc must be a function, found a "${typeof gotoFunc}" instead`)
|
throw new Error(
|
||||||
|
`gotoFunc must be a function, found a "${typeof gotoFunc}" instead`
|
||||||
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
set({
|
set({
|
||||||
|
|
Loading…
Reference in New Issue