summaryrefslogtreecommitdiff
path: root/ui/app/components/spinner/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'ui/app/components/spinner/index.js')
-rw-r--r--ui/app/components/spinner/index.js19
1 files changed, 8 insertions, 11 deletions
diff --git a/ui/app/components/spinner/index.js b/ui/app/components/spinner/index.js
index ffc3285..6cd3477 100644
--- a/ui/app/components/spinner/index.js
+++ b/ui/app/components/spinner/index.js
@@ -1,15 +1,12 @@
import React from 'react';
import './spinner.css';
-class Spinner extends React.Component {
- render() {
- let props = {}
- return <div className="spinner">
- <div className="spin1"></div>
- <div className="spin2"></div>
- <div className="spin3"></div>
- </div>
- }
-}
+const Spinner = props => (
+ <div className="spinner">
+ <div className="spin1"></div>
+ <div className="spin2"></div>
+ <div className="spin3"></div>
+ </div>
+)
-export default Spinner \ No newline at end of file
+export default Spinner