mirror of
https://github.com/Stirling-Tools/Stirling-PDF.git
synced 2025-09-18 01:19:24 +00:00
Update frontend/src/hooks/tools/automate/useSavedAutomations.ts
Co-authored-by: James Brunton <jbrunton96@gmail.com>
This commit is contained in:
parent
8fb352345c
commit
18285939ab
@ -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':
|
||||
|
Loading…
x
Reference in New Issue
Block a user