compressing graphics
authorAnthony Talarico <talarico@gaslightmedia.com>
Wed, 16 Oct 2019 23:45:47 +0000 (19:45 -0400)
committerAnthony Talarico <talarico@gaslightmedia.com>
Wed, 16 Oct 2019 23:45:47 +0000 (19:45 -0400)
admin/js/components/Option.js [deleted file]

diff --git a/admin/js/components/Option.js b/admin/js/components/Option.js
deleted file mode 100644 (file)
index c417212..0000000
+++ /dev/null
@@ -1,45 +0,0 @@
-import React, { useEffect, useState, useRef} from 'react';
-import {connect } from 'react-redux';
-import { toggleDrawerState } from '../store/actionCreators/system';
-
-const Option = (props) => {
-    const mounted = useEffect;
-    const updated = useEffect;
-    const firstRender = useRef(true)
-    const [gameState,updateGameState] = useState({
-        firstRender : true,
-
-    })
-    mounted(() => {
-        updateGameState({
-            ...gameState,
-            tutorialVisible: true
-        })
-        firstRender.current = false;
-        return function cleanup(){
-            // clean up logic
-        }
-    },[])
-
-    updated(() =>{
-        if(!firstRender.current){
-            console.log("update only")
-        }
-        return function cleanup(){
-
-        }
-    })
-
-        // this.props.updateGameData({scrap: 1000, robots: 5}).then(console.log(this.props.gameDataReducer));
-
-    return (
-        <div className="glmto-option">
-            option
-        </div>
-    );
-       
-}
-
-const mapDispatchToProps = { toggleDrawerState }
-const mapStateToProps = state => state
-export default connect(mapStateToProps, mapDispatchToProps)(Option);
\ No newline at end of file