diff --git a/src/project/project-actions.tsx b/src/project/project-actions.tsx index 8405f36a9..f370e1f60 100644 --- a/src/project/project-actions.tsx +++ b/src/project/project-actions.tsx @@ -875,9 +875,7 @@ export class ProjectActions { this.save(finalFocusRef, true); } - private async handleClearConnectError( - finalFocusRef: React.RefObject - ) { + private async handleClearConnectError(finalFocusRef: FinalFocusRef) { return this.dialogs.show((callback) => ( )); } - private async handleReconnectMicrobitError( - finalFocusRef: React.RefObject - ) { + private async handleReconnectMicrobitError(finalFocusRef: FinalFocusRef) { return this.dialogs.show((callback) => ( - ) { + private async handleTimeoutError(finalFocusRef: FinalFocusRef) { return this.dialogs.show((callback) => ( void; - finalFocusRef: React.RefObject; + finalFocusRef: FinalFocusRef; title: ReactNode; description: ReactNode; }