aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGravatar Joe Banks <[email protected]>2021-01-02 02:11:28 +0000
committerGravatar Joe Banks <[email protected]>2021-01-02 02:11:28 +0000
commitee17142c7e4c4c1a334326b1f78a1ba0f97a8c85 (patch)
tree75bcc88cda46e4605940234953124d1ec247e696 /src
parentMerge pull request #70 from python-discord/renovate/node-14.x (diff)
Implement new loader
Diffstat (limited to 'src')
-rw-r--r--src/App.tsx4
-rw-r--r--src/components/Loading.tsx6
2 files changed, 5 insertions, 5 deletions
diff --git a/src/App.tsx b/src/App.tsx
index 2a8fd31..b1b2184 100644
--- a/src/App.tsx
+++ b/src/App.tsx
@@ -9,7 +9,7 @@ import {
Switch
} from "react-router-dom";
-import { RingLoader } from "react-spinners";
+import { PropagateLoader } from "react-spinners";
import { CSSTransition, TransitionGroup } from "react-transition-group";
@@ -31,7 +31,7 @@ function PageLoading() {
justify-content: center;
margin-top: 50px;
`}>
- <RingLoader color="white" size={100}/>
+ <PropagateLoader color="white" size={100}/>
</div>
}
diff --git a/src/components/Loading.tsx b/src/components/Loading.tsx
index 5083214..8454366 100644
--- a/src/components/Loading.tsx
+++ b/src/components/Loading.tsx
@@ -1,15 +1,15 @@
/** @jsx jsx */
import { jsx } from "@emotion/react";
-import { RingLoader } from "react-spinners";
+import { PropagateLoader } from "react-spinners";
import HeaderBar from "../components/HeaderBar";
function Loading() {
return <div>
<HeaderBar title={"Loading..."}/>
- <div css={{display: "flex", justifyContent: "center"}}>
- <RingLoader color="white"/>
+ <div css={{display: "flex", justifyContent: "center", paddingTop: "40px"}}>
+ <PropagateLoader color="white"/>
</div>
</div>
}