The error `Uncaught SyntaxError: The requested module '/src/services/whatsApp/localStorage.ts' does not provide an export named 'loadInstancesFromLocalStorage'` indicates an incorrect import. This commit corrects the import in `src/hooks/whatsApp/useInstanceState.ts` to use the correct export name, which is `loadInstancesFromStorage`. Also fixes the build errors in `src/components/whatsapp/CreateInstanceForm.tsx` and `src/hooks/whatsApp/useInstanceState.ts`. |
||
|---|---|---|
| .. | ||
| apiHelpers.ts | ||
| config.ts | ||
| index.ts | ||
| instanceActions.ts | ||
| instanceManagement.ts | ||
| localStorage.ts | ||
| webhookService.ts | ||