Skip to content

Commit

Permalink
accept changes
Browse files Browse the repository at this point in the history
  • Loading branch information
abonnell committed Sep 23, 2020
2 parents c3f01ad + 8ff287b commit 6c5b273
Show file tree
Hide file tree
Showing 11 changed files with 15 additions and 120 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,7 @@
npm-debug.log*
yarn-debug.log*
yarn-error.log*

TODO.md

.vercel
File renamed without changes.
12 changes: 6 additions & 6 deletions src/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,12 @@ const App = () => {
}, [addAndRoll]);

//Rolls pool and resets to 0 if it hits 6 or more
// useEffect(() => {
// if (currentPool >= 6 && currentPool != 0) {
// rollHelper(currentPool);
// setCurrentPool(0);
// }
// }, [currentPool]);
useEffect(() => {
if (currentPool >= 6) {
rollHelper(currentPool);
setCurrentPool(0);
}
}, [currentPool]);

return (
<div className='ui container my-container'>
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,4 @@ const TensionCard = ({ label, value }) => {
);
};

TensionCard.defaultProps = {
value: 5,
};

export default TensionCard;
File renamed without changes.
File renamed without changes.
110 changes: 0 additions & 110 deletions src/index.js

This file was deleted.

5 changes: 5 additions & 0 deletions src/index.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import React from 'react';
import ReactDOM from 'react-dom';
import App from './App';

ReactDOM.render(<App />, document.querySelector('#root'));

0 comments on commit 6c5b273

Please sign in to comment.