Skip to content

Commit

Permalink
refactor: remove extra param
Browse files Browse the repository at this point in the history
  • Loading branch information
TylorS committed May 22, 2024
1 parent 9bdcaa1 commit eadddf5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/realworld/src/ui/pages/login.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ function loginUser(ev: SubmitEvent) {

// Navigate to home page if login is successful
if (AsyncData.isSuccess(updated)) {
yield* _(Router.navigate(Routes.home, { history: "replace", relative: false, params: {} }))
yield* _(Router.navigate(Routes.home, { history: "replace", relative: false }))
}

return updated
Expand Down

0 comments on commit eadddf5

Please sign in to comment.