Skip to content

Commit f6a12bc

Browse files
committed
fix: route name
1 parent caeffd1 commit f6a12bc

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

src/ROUTES.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ const DYNAMIC_ROUTES = {
309309
entryScreens: [SCREENS.WORKSPACE.CATEGORIES],
310310
},
311311
WORKSPACE_CATEGORY_CREATE: {
312-
path: 'new',
312+
path: 'category-new',
313313
entryScreens: [SCREENS.WORKSPACE.CATEGORIES],
314314
},
315315
WORKSPACE_INVITE: {

src/libs/Navigation/linkingConfig/OldRoutes.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ const oldRoutes: Record<string, string> = {
55
'/settings/workspaces': '/workspaces',
66
'/r/*/settings/name': '/r/$1/details/settings/name',
77
'/workspaces/*/overview/address': '/workspaces/$1/overview/workspace-address',
8+
'/workspaces/*/categories/new': '/workspaces/$1/categories/category-new',
89
'/workspaces/*/accounting/*/card-reconciliation/account': '/workspaces/$1/accounting/$2/card-reconciliation/account-reconciliation-settings',
910
'/workspaces/*/connections/netsuite/export/invoice-item-preference/invoice-item/select': '/workspaces/$1/connections/netsuite/export/invoice-item-preference/select/invoice-item/select',
1011
'/workspaces/*/connections/quickbooks-online/advanced/autosync/accounting-method':

0 commit comments

Comments
 (0)