mirror of
https://github.com/iib0011/omni-tools.git
synced 2025-12-29 16:16:02 +00:00
Fixing errors with userTypes
This commit is contained in:
@@ -114,7 +114,7 @@ export const getToolCategoryTitle = (
|
||||
categoryName: string,
|
||||
t: TFunction<I18nNamespaces[]>
|
||||
): string =>
|
||||
getToolsByCategory(t).find((category) => category.type === categoryName)!
|
||||
getToolsByCategory([], t).find((category) => category.type === categoryName)!
|
||||
.rawTitle;
|
||||
|
||||
// Type guard to check if a value is a valid I18nNamespaces
|
||||
|
||||
Reference in New Issue
Block a user