Update eslint to 8.27.0
This commit is contained in:
parent
c8fb43a846
commit
98ef4c627a
499 changed files with 8995 additions and 8494 deletions
|
@ -18,13 +18,13 @@ const Fail: React.FC<Record<string, never>> = () => {
|
|||
throw new Error('Failed');
|
||||
};
|
||||
|
||||
export const ErrorState = (): JSX.Element => {
|
||||
export function ErrorState(): JSX.Element {
|
||||
return (
|
||||
<ErrorBoundary i18n={i18n} showDebugLog={action('showDebugLog')}>
|
||||
<Fail />
|
||||
</ErrorBoundary>
|
||||
);
|
||||
};
|
||||
}
|
||||
|
||||
ErrorState.story = {
|
||||
name: 'Error state',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue