Skip to content

Commit

Permalink
Merge pull request #46699 from huult/46383-fix-inconsistent-workspace…
Browse files Browse the repository at this point in the history
…-creation

fix inconsistent workspace creation
  • Loading branch information
marcaaron authored Aug 2, 2024
2 parents 69c2987 + f174aa3 commit b10b0b9
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/pages/WorkspaceSwitcherPage/WorkspacesSectionHeader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import useLocalize from '@hooks/useLocalize';
import useTheme from '@hooks/useTheme';
import useThemeStyles from '@hooks/useThemeStyles';
import interceptAnonymousUser from '@libs/interceptAnonymousUser';
import Navigation from '@libs/Navigation/Navigation';
import * as App from '@userActions/App';
import CONST from '@src/CONST';

Expand All @@ -33,7 +32,6 @@ function WorkspacesSectionHeader() {
accessible={false}
role={CONST.ROLE.BUTTON}
onPress={() => {
Navigation.goBack();
interceptAnonymousUser(() => App.createWorkspaceWithPolicyDraftAndNavigateToIt());
}}
>
Expand Down

0 comments on commit b10b0b9

Please sign in to comment.