Skip to content

Commit 0e46e62

Browse files
chore(web): code-rabbit-review
1 parent 8dbdb09 commit 0e46e62

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

web/src/components/ErrorFallback.tsx

+2-3
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ import React from "react";
22
import styled, { css } from "styled-components";
33

44
import { FallbackProps } from "react-error-boundary";
5-
import { Link } from "react-router-dom";
65

76
import { Button } from "@kleros/ui-components-library";
87

@@ -113,9 +112,9 @@ const ErrorFallback: React.FC<FallbackProps> = ({ error, resetErrorBoundary }) =
113112
<Subtitle>Please reload the page or contact us if the issue is not resolved.</Subtitle>
114113
<ButtonsContainer>
115114
<Button text={"Reload"} onClick={resetErrorBoundary} />
116-
<Link to={"https://t.me/kleros"}>
115+
<a href={"https://t.me/kleros"} target="_blank" rel="noreferrer">
117116
<Button text={"Contact us"} />
118-
</Link>
117+
</a>
119118
</ButtonsContainer>
120119
</InfoWrapper>
121120
<IconContainer>

0 commit comments

Comments
 (0)