fix: Error recover/retry buttons should reset error state

This commit is contained in:
Valere
2025-03-11 16:54:19 +01:00
parent 4c27551014
commit c0ef6e5e4d
2 changed files with 47 additions and 2 deletions
+4 -1
View File
@@ -120,7 +120,10 @@ export const GroupCallErrorBoundary = ({
<ErrorPage
error={callError}
resetError={resetError}
recoveryActionHandler={recoveryActionHandler}
recoveryActionHandler={(action: CallErrorRecoveryAction) => {
resetError();
recoveryActionHandler?.(action);
}}
/>
);
},