This commit is contained in:
Adria Navarro 2024-01-08 13:10:40 +01:00
parent f7f51e7909
commit 72410d1f28
1 changed files with 3 additions and 1 deletions

View File

@ -9,7 +9,9 @@ export function createNavigationStore() {
const init = gotoFunc => {
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({