We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1f4dbbd commit d54d11dCopy full SHA for d54d11d
src/mobile/components/pages/CooperatePage.tsx
@@ -79,15 +79,8 @@ const CooperatePage = () => {
79
const createTeamResult = await createTeam({
80
personal: true,
81
})
82
- const destinationHref =
83
- createTeamResult.doc == null
84
- ? getTeamLinkHref(createTeamResult.team, 'index')
85
- : getDocLinkHref(
86
- createTeamResult.doc,
87
- createTeamResult.team,
88
- 'index'
89
- )
90
- push(destinationHref)
+
+ push(getTeamLinkHref(createTeamResult.team, 'index'))
91
} catch (error) {
92
console.error(error)
93
setCreatingTeam(false)
0 commit comments