feat[react]: Linting with eslint 9
This commit is contained in:
parent
14eab04d5b
commit
f69093b0dc
99 changed files with 1260 additions and 956 deletions
|
@ -7,11 +7,7 @@ import { useBackend } from '@freesewing/react/hooks/useBackend'
|
|||
import { Spinner } from '@freesewing/react/components/Spinner'
|
||||
import { Link as WebLink } from '@freesewing/react/components/Link'
|
||||
import { ChartWrapper } from '@freesewing/react/components/Echart'
|
||||
|
||||
const meta = {
|
||||
title: 'FreeSewing by numbers',
|
||||
description: 'Some high-level numbers about Freesewing',
|
||||
}
|
||||
import { Popout } from '@freesewing/react/components/Popout'
|
||||
|
||||
const option = {
|
||||
tooltip: {
|
||||
|
@ -104,6 +100,13 @@ export const Stats = ({ Link = false }) => {
|
|||
},
|
||||
]
|
||||
|
||||
if (error)
|
||||
return (
|
||||
<Popout type="error" title="Something went wrong" compact>
|
||||
This is unexpected. You may want to report this.
|
||||
</Popout>
|
||||
)
|
||||
|
||||
return (
|
||||
<>
|
||||
<div className="tw:max-w-7xl tw:mx-auto tw:my-12 tw:px-4">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue