diff --git a/src/servers/helpers/ImportServersBtn.tsx b/src/servers/helpers/ImportServersBtn.tsx index 5f46641e..490d2d7e 100644 --- a/src/servers/helpers/ImportServersBtn.tsx +++ b/src/servers/helpers/ImportServersBtn.tsx @@ -7,7 +7,7 @@ type Ref = RefObject | MutableRefObject; export interface ImportServersBtnProps { onImport?: () => void; - onImportError?: () => void; + onImportError?: (error: Error) => void; } interface ImportServersBtnConnectProps extends ImportServersBtnProps {