forked from abner/for-legacy-web
Add animations to loaders.
This commit is contained in:
@@ -29,7 +29,7 @@ const Base = styled.div`
|
||||
export default function RequiresOnline(props: Props) {
|
||||
const status = useContext(StatusContext);
|
||||
|
||||
if (status === ClientStatus.CONNECTING) return <Preloader />;
|
||||
if (status === ClientStatus.CONNECTING) return <Preloader type="ring" />;
|
||||
if (status !== ClientStatus.ONLINE && status !== ClientStatus.READY)
|
||||
return (
|
||||
<Base>
|
||||
|
||||
Reference in New Issue
Block a user