Skip to content

Commit ce2a6a8

Browse files
authored
fix(solid-router): emit onBeforeRouteMount with createComputed (#5745)
1 parent 2d338e0 commit ce2a6a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/solid-router/src/Transitioner.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ export function Transitioner() {
102102
),
103103
)
104104

105-
Solid.createRenderEffect(
105+
Solid.createComputed(
106106
Solid.on(
107107
[isPagePending, previousIsPagePending],
108108
([isPagePending, previousIsPagePending]) => {

0 commit comments

Comments
 (0)