Skip to content

Commit 0c1607f

Browse files
committed
Remove retry logic from state change in ApiErrorBoundary
1 parent b9c02d7 commit 0c1607f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

airbyte-webapp/src/components/ApiErrorBoundary/ApiErrorBoundary.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,8 @@ class ApiErrorBoundary extends React.Component<
8787
<RetryContainer>
8888
<Button
8989
onClick={() => {
90-
this.setState({ didRetry: true, errorId: undefined }, () => onRetry?.());
90+
this.setState({ didRetry: true, errorId: undefined });
91+
onRetry?.();
9192
}}
9293
>
9394
<FormattedMessage id="errorView.retry" />

0 commit comments

Comments
 (0)