Skip to content

Commit 51de201

Browse files
ci: apply automated fixes
1 parent a55837f commit 51de201

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

packages/solid-router/src/useRouterState.tsx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,10 @@ export function useRouterState<
5555
})
5656
const router = opts?.router || contextRouter
5757

58-
return useStore(router.__store, (state) => {
59-
if (opts?.select) return opts.select(state)
58+
return useStore(
59+
router.__store,
60+
(state) => {
61+
if (opts?.select) return opts.select(state)
6062

6163
return state
6264
},

0 commit comments

Comments
 (0)