Skip to content

Commit 4f695c6

Browse files
committed
add solve for imports from Expensify#48623
1 parent b35465e commit 4f695c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pages/workspace/categories/WorkspaceCategoriesPage.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@ function WorkspaceCategoriesPage({route}: WorkspaceCategoriesPageProps) {
304304
text: translate('spreadsheet.importSpreadsheet'),
305305
onSelected: () => {
306306
if (isOffline) {
307-
setIsOfflineModalVisible(true);
307+
Modal.close(() => setIsOfflineModalVisible(true));
308308
return;
309309
}
310310
Navigation.navigate(ROUTES.WORKSPACE_CATEGORIES_IMPORT.getRoute(policyId));

0 commit comments

Comments
 (0)