fix: Error recover/retry buttons should reset error state

This commit is contained in:
Valere
2025-03-07 15:18:32 +01:00
parent 4c27551014
commit c0ef6e5e4d
2 changed files with 47 additions and 2 deletions

View File

@@ -120,7 +120,10 @@ export const GroupCallErrorBoundary = ({
<ErrorPage
error={callError}
resetError={resetError}
recoveryActionHandler={recoveryActionHandler}
recoveryActionHandler={(action: CallErrorRecoveryAction) => {
resetError();
recoveryActionHandler?.(action);
}}
/>
);
},