1
0
Fork 0
mirror of https://github.com/CorentinTh/it-tools.git synced 2025-08-08 06:55:19 +02:00
This commit is contained in:
Adrian Ortiz 2024-09-07 12:59:22 -06:00
parent 4886332ff5
commit 8a723eb5c7

View file

@ -211,5 +211,5 @@ export const toolsByCategory: ToolCategory[] = [
export const tools = toolsByCategory.flatMap(({ components }) => components);
export const toolsWithCategory = toolsByCategory.flatMap(({ components, name }) =>
components.map(tool) => ({ category: name, ...tool }),
components.map((tool) => ({ ...tool, category: name })),
);