show spinner immediately
This commit is contained in:
parent
111b4975ee
commit
dd778dab76
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue
Block a user