diff --git a/src/components/views/dialogs/InteractiveAuthDialog.tsx b/src/components/views/dialogs/InteractiveAuthDialog.tsx index 9a1bec70c9..e6cf72cf9a 100644 --- a/src/components/views/dialogs/InteractiveAuthDialog.tsx +++ b/src/components/views/dialogs/InteractiveAuthDialog.tsx @@ -73,8 +73,8 @@ interface IState { authError: Error; // See _onUpdateStagePhase() - uiaStage: number; - uiaStagePhase: number; + uiaStage: number | string; + uiaStagePhase: number | string; } @replaceableComponent("views.dialogs.InteractiveAuthDialog") @@ -127,7 +127,7 @@ export default class InteractiveAuthDialog extends React.Component { + private onUpdateStagePhase = (newStage: string | number, newPhase: string | number): void => { // We copy the stage and stage phase params into state for title selection in render() this.setState({ uiaStage: newStage, uiaStagePhase: newPhase }); };