diff --git a/paras/src/App.js b/paras/src/App.js
index 864570e..fef884d 100644
--- a/paras/src/App.js
+++ b/paras/src/App.js
@@ -51,14 +51,14 @@ const App = () => {
const renderCell = (index) => {
const value = board[index];
return (
-
handleCellClick(index)}>
+
handleCellClick(index)}>
{value}
);
};
const toggleTheme = () => {
- setIsDarkMode((prevMode) => !prevMode);
+ setIsDarkMode(prevMode => !prevMode);
};
useEffect(() => {
@@ -195,6 +195,13 @@ const App = () => {
← Back to Mode Selection
+ {/* Turn indicator */}
+ {!winner && !draw && (
+
+
Player {currentPlayer}'s turn
+
+ )}
+
{board.map((cell, index) => renderCell(index))}
@@ -230,4 +237,4 @@ const App = () => {
);
};
-export default App;
\ No newline at end of file
+export default App;