From a4e7f8304db77028d4809db90ee377f6989367c3 Mon Sep 17 00:00:00 2001
From: Joe Banks <joseph@josephbanks.me>
Date: Mon, 5 Oct 2020 13:57:10 +0100
Subject: Experiment concluded that hash the best choice

---
 src/pages/FormPage.tsx | 11 ++---------
 1 file changed, 2 insertions(+), 9 deletions(-)

(limited to 'src/pages/FormPage.tsx')

diff --git a/src/pages/FormPage.tsx b/src/pages/FormPage.tsx
index 90474f4..a675f8e 100644
--- a/src/pages/FormPage.tsx
+++ b/src/pages/FormPage.tsx
@@ -2,7 +2,7 @@
 import { jsx } from "@emotion/core";
 import { Link } from "react-router-dom";
 
-import { DotLoader, HashLoader, RotateLoader } from "react-spinners";
+import { HashLoader } from "react-spinners";
 
 import { useParams } from "react-router";
 import HeaderBar from "../components/HeaderBar";
@@ -13,18 +13,11 @@ interface PathParams {
     id: string
 }
 
-const loaders: Record<string, any> = {
-    "dot": DotLoader,
-    "hash": HashLoader,
-    "rotate": RotateLoader
-}
-
 function Loading() {
-    let Loader = loaders[localStorage.loader ? localStorage.loader : "dot"];
     return <div>
         <HeaderBar title={"Loading..."}/>
         <div css={{display: "flex", justifyContent: "center"}}>
-            <Loader color="white"/>
+            <HashLoader color="white"/>
         </div>
     </div>
 }
-- 
cgit v1.2.3

