Skip to content

Commit 4b1b86d

Browse files
authored
Update tab.ts
wrong code, comparing to it's tsx version, it should be just parallel(), not pipe(parallel()))
1 parent 77853b6 commit 4b1b86d

File tree

1 file changed

+1
-3
lines changed
  • packages/overmind-website/examples/guide/routing

1 file changed

+1
-3
lines changed

packages/overmind-website/examples/guide/routing/tab.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,7 @@ export const showUsersPage = async ({ value: params, state, effects }) => {
6161
state.isLoadingUsers = false
6262
}
6363
64-
export const showUserModal = pipe(
65-
parallel(
64+
export const showUserModal = parallel(
6665
showUsersPage,
6766
action(async ({ value: params, state, effects }) => {
6867
state.currentUserModalTabIndex = Number(params.tab)
@@ -74,7 +73,6 @@ export const showUserModal = pipe(
7473
state.isLoadingUserDetails = false
7574
})
7675
)
77-
)
7876
`,
7977
},
8078
]

0 commit comments

Comments
 (0)