Skip to content

Commit

Permalink
fix: FE format
Browse files Browse the repository at this point in the history
  • Loading branch information
huglx committed Jul 24, 2024
1 parent abe5455 commit d4f96b5
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion webapp/src/service/http/handleApiError.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,12 @@ export const handleApiError = (

if (r.status == 429) {
const { retryAfter }: RateLimitResponseBody = resObject;
messageService.error(<T keyName="too_many_requests_retry_after" params={{retryAfterSeconds: retryAfter}} />);
messageService.error(
<T
keyName="too_many_requests_retry_after"
params={{ retryAfterSeconds: retryAfter }}
/>
);
return;
}

Expand Down

0 comments on commit d4f96b5

Please sign in to comment.