Skip to content

Commit

Permalink
fix blinking workspace list page on mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
jnowakow committed Jul 12, 2024
1 parent ee5cb87 commit d588870
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libs/Navigation/AppNavigator/CENTRAL_PANE_SCREENS.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import type ReactComponentModule from '@src/types/utils/ReactComponentModule';
type Screens = Partial<Record<CentralPaneName, () => React.ComponentType>>;

const CENTRAL_PANE_SCREENS = {
[SCREENS.SETTINGS.WORKSPACES]: withPrepareCentralPaneScreen(() => require<ReactComponentModule>('../../../pages/workspace/WorkspacesListPage').default),
[SCREENS.SETTINGS.WORKSPACES]: () => require<ReactComponentModule>('../../../pages/workspace/WorkspacesListPage').default,
[SCREENS.SETTINGS.PREFERENCES.ROOT]: withPrepareCentralPaneScreen(() => require<ReactComponentModule>('../../../pages/settings/Preferences/PreferencesPage').default),
[SCREENS.SETTINGS.SECURITY]: withPrepareCentralPaneScreen(() => require<ReactComponentModule>('../../../pages/settings/Security/SecuritySettingsPage').default),
[SCREENS.SETTINGS.PROFILE.ROOT]: withPrepareCentralPaneScreen(() => require<ReactComponentModule>('../../../pages/settings/Profile/ProfilePage').default),
Expand Down

0 comments on commit d588870

Please sign in to comment.