From 4f42b5a2b35cf61d6042562195755699f9de177f Mon Sep 17 00:00:00 2001 From: Renard Date: Sun, 22 Sep 2019 00:28:21 -0300 Subject: Nightmode --- src/Board.js | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'src/Board.js') diff --git a/src/Board.js b/src/Board.js index 34e3f52..5dd00a2 100644 --- a/src/Board.js +++ b/src/Board.js @@ -109,10 +109,11 @@ class Board extends Component { return board.dir === this.props.dir; }); document.title = currentBoard.name + " - B.a.I"; + const nightMode = this.props.nightMode; return ( - + Home @@ -121,7 +122,7 @@ class Board extends Component { {threadList.map(thread => ( -
+
{thread.subject} @@ -129,14 +130,15 @@ class Board extends Component { {thread.total_replies} respuestas
- - + + {thread.replies.map((reply, index, replies) => ( @@ -147,6 +149,7 @@ class Board extends Component { threadId={thread.id} key={"reply_" + reply.id} currentBoard={currentBoard} + nightMode={nightMode} /> ))} -- cgit v1.2.1-18-gbd029