show spinner immediately

This commit is contained in:
Vyacheslav Matyukhin 2022-07-23 22:17:04 +04:00
parent 111b4975ee
commit dd778dab76
No known key found for this signature in database
GPG Key ID: 3D2A774C5489F96C

View File

@ -3,7 +3,7 @@ import { RefreshIcon } from "@heroicons/react/solid";
import styles from "./FallbackSpinner.module.css";
export const FallbackSpinner = ({ height }) => {
const [show, setShow] = useState(false);
const [show, setShow] = useState(/* false */ true);
useEffect(() => {
setTimeout(() => {
setShow(true);