Browse Source

Temporarily disabling strict mode

Kirk Trombley 5 years ago
parent
commit
07d90cca80
2 changed files with 3 additions and 2 deletions
  1. 1 0
      README.md
  2. 2 2
      client/src/App.js

+ 1 - 0
README.md

@@ -117,6 +117,7 @@ POST /game/{ID}/guesses/{round}
 - Modify scoring to linear interp in the middle
 - Alternative game mode: Single timer across all rounds
 - Timestamps/hashes in info responses so checks can be faster
+- Update React Transition Group after they are compatible with Strict Mode
 
 ## Attributions
 

+ 2 - 2
client/src/App.js

@@ -71,7 +71,7 @@ export default () => {
   const needsHF = needsHeaderFooter[gameState];
 
   return (
-    <React.StrictMode>
+    // <React.StrictMode>
       <div className={styles.page}>
         <Header show={needsHF} />
         <State show={gameState === PRE_GAME} setTransitioning={setTransitioning}>
@@ -92,6 +92,6 @@ export default () => {
         </State>
         <Footer show={needsHF} />
       </div>
-    </React.StrictMode>
+    // </React.StrictMode>
   );
 };