Skip to content

Commit f0803ed

Browse files
committed
modified History component
1 parent db5b388 commit f0803ed

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/components/History.js

+5
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,11 @@ const History = ({ history, moveTo, currentMove }) => {
1818
}}
1919
>
2020
{move === 0 ? 'Start the Game' : `Go to move #${move}`}
21+
{/* {move <= 9
22+
? move === 0
23+
? 'Start the Game'
24+
: `Go to move #${move}`
25+
: ''} */}
2126
</button>
2227
</li>
2328
);

0 commit comments

Comments
 (0)