From a305357d07ceeda68ba52bd078f5e51dc468c032 Mon Sep 17 00:00:00 2001 From: Joe Tannenbaum Date: Wed, 15 Jan 2025 15:37:15 -0500 Subject: [PATCH] parens --- packages/core/src/router.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/core/src/router.ts b/packages/core/src/router.ts index fdd2f0aff..f1f3c1cc8 100644 --- a/packages/core/src/router.ts +++ b/packages/core/src/router.ts @@ -271,7 +271,7 @@ export class Router { protected clientVisit(params: ClientSideVisitOptions, { replace = false }: { replace?: boolean } = {}): void { const current = currentPage.get() - const props = typeof params.props === 'function' ? params.props(current.props) : params.props ?? current.props + const props = typeof params.props === 'function' ? params.props(current.props) : (params.props ?? current.props) currentPage.set( {