Compare commits

...

1 Commits

Author SHA1 Message Date
Ammar Ahmed
5d532ae9af intl: add optional chaining to search route strings 2024-12-20 10:31:37 +05:00

View File

@@ -1482,7 +1482,7 @@ For example:
return (
SEARCH_IN_ROUTE_STRINGS[
routeName as keyof typeof SEARCH_IN_ROUTE_STRINGS
]() || t`Search in ${routeName}`
]?.() || t`Search in ${routeName}`
);
},
logoutConfirmation: () =>