From 18285939ab6a5fba7f1d228ba4fd01701599428c Mon Sep 17 00:00:00 2001 From: ConnorYoh <40631091+ConnorYoh@users.noreply.github.com> Date: Tue, 26 Aug 2025 16:50:08 +0100 Subject: [PATCH] Update frontend/src/hooks/tools/automate/useSavedAutomations.ts Co-authored-by: James Brunton --- frontend/src/hooks/tools/automate/useSavedAutomations.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/hooks/tools/automate/useSavedAutomations.ts b/frontend/src/hooks/tools/automate/useSavedAutomations.ts index 27466f55d..410ad3217 100644 --- a/frontend/src/hooks/tools/automate/useSavedAutomations.ts +++ b/frontend/src/hooks/tools/automate/useSavedAutomations.ts @@ -46,7 +46,7 @@ export function useSavedAutomations() { const { automationStorage } = await import('../../../services/automationStorage'); // Map suggested automation icons to MUI icon keys - const getIconKey = (suggestedIcon: any): string => { + const getIconKey = (suggestedIcon: {id: string}): string => { // Check the automation ID or name to determine the appropriate icon switch (suggestedAutomation.id) { case 'secure-pdf-ingestion':