Skip to content

Commit

Permalink
parens
Browse files Browse the repository at this point in the history
  • Loading branch information
joetannenbaum committed Jan 15, 2025
1 parent 5125df4 commit a305357
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/router.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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(
{
Expand Down

0 comments on commit a305357

Please sign in to comment.