We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6f2a65b commit 7304df9Copy full SHA for 7304df9
1 file changed
src/components/App.js
@@ -29,7 +29,7 @@ export default class App extends React.Component {
29
const monthObj = ZodiacArray.find(month => {
30
return Object.keys(month)[0] === ourMonth
31
})
32
- if (monthObj[ourMonth] < ourDate) {
+ if (monthObj[ourMonth] > ourDate) {
33
this.setState({zodiac: monthObj.sign[0]})
34
} else {
35
this.setState({zodiac: monthObj.sign[1]})
0 commit comments