blob: 5d5698a7770a8e01c4cf882f82810ea15ef2d243 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
import React from 'react';
import Icon from 'c/Icon';
import SvgYacd from './SvgYacd';
import github from 's/github.svg';
import s0 from './ErrorBoundaryFallback.module.css';
const yacdRepoIssueUrl = 'https://github.com/haishanh/yacd/issues';
function ErrorBoundaryFallback() {
return (
<div className={s0.root}>
<div className={s0.yacd}>
<SvgYacd width={150} height={150} />
</div>
<h1>Oops, something went wrong!</h1>
<p>
If you think this is a bug, reporting this at{' '}
<a className={s0.link} href={yacdRepoIssueUrl}>
<Icon id={github.id} width={16} height={16} />
haishanh/yacd
</a>
</p>
</div>
);
}
export default ErrorBoundaryFallback;
|