some final cleanup

Signed-off-by: Fredrik Adelöw <freben@gmail.com>
This commit is contained in:
Fredrik Adelöw
2021-12-17 10:13:02 +01:00
parent 7a4bd2ceac
commit 2847cd8234
11 changed files with 18 additions and 25 deletions
@@ -94,6 +94,7 @@ export const WithLink = () => (
</TestApiProvider>
</div>
);
export const Fixed = () => (
<div style={containerStyle}>
<TestApiProvider apis={apis}>
@@ -106,6 +107,7 @@ export const Fixed = () => (
</TestApiProvider>
</div>
);
export const Warning = () => (
<div style={containerStyle}>
<TestApiProvider apis={apis}>
@@ -80,14 +80,11 @@ export function ErrorPage(props: IErrorPageProps) {
Looks like someone dropped the mic!
</Typography>
<Typography variant="h6">
<Link to=".." data-testid="go-back-link">
<Link to="#" data-testid="go-back-link" onClick={() => navigate(-1)}>
Go back
</Link>
... or please{' '}
<Link to={support.url} rel="noopener noreferrer">
contact support
</Link>{' '}
if you think this is a bug.
... or please <Link to={support.url}>contact support</Link> if you
think this is a bug.
</Typography>
</Grid>
</Grid>