import React from 'react' import Spinner from 'react-spinner' export default function SpinnerWrapper(props) { const [loading, setLoading] = React.useState(true) React.useEffect(() => { setLoading(false) }, []) if (loading) { return (