This commit is contained in:
Vyacheslav Matyukhin 2022-07-23 22:03:50 +04:00
parent ce31dc62c2
commit 111b4975ee
No known key found for this signature in database
GPG Key ID: 3D2A774C5489F96C
2 changed files with 16 additions and 14 deletions

View File

@ -9,7 +9,9 @@ export const FallbackSpinner = ({ height }) => {
setShow(true); setShow(true);
}, 500); }, 500);
}, []); }, []);
return <div className={styles.container} style={{height}}>{ return (
show ? <RefreshIcon className={styles.icon} /> : null <div className={styles.container} style={{ height }}>
}</div>; {show ? <RefreshIcon className={styles.icon} /> : null}
</div>
);
}; };