mirror of
https://github.com/System-End/site.git
synced 2026-04-19 23:22:49 +00:00
[HCB] Fix lint error
This commit is contained in:
parent
20c042a4ba
commit
de36ac8c18
1 changed files with 3 additions and 3 deletions
|
|
@ -43,9 +43,6 @@ function formatMoney(amount) {
|
|||
}
|
||||
|
||||
const Stats = ({ stats }) => {
|
||||
if (stats.transactions_volume === undefined) {
|
||||
return null
|
||||
}
|
||||
const [balance, setBalance] = useState(0) // A formatted balance string, split by decimal
|
||||
|
||||
useEffect(() => {
|
||||
|
|
@ -67,6 +64,9 @@ const Stats = ({ stats }) => {
|
|||
|
||||
return () => observer.disconnect()
|
||||
}, [stats.transactions_volume])
|
||||
|
||||
if (stats.transactions_volume === undefined) return null
|
||||
|
||||
return (
|
||||
<Box id="parent">
|
||||
<Flex sx={{ flexDirection: 'column', alignItems: 'center' }}>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue