diff options
author | Renard | 2019-09-22 00:28:21 -0300 |
---|---|---|
committer | Renard | 2019-09-22 00:28:21 -0300 |
commit | 4f42b5a2b35cf61d6042562195755699f9de177f (patch) | |
tree | d874b49c0aeaa1d98ad9aea978c2f417b6788806 /src/Post.js | |
parent | 8db5e7649c1d3ceba35cc52e191da1d264994f45 (diff) | |
download | bai-client-4f42b5a2b35cf61d6042562195755699f9de177f.tar.gz bai-client-4f42b5a2b35cf61d6042562195755699f9de177f.tar.xz bai-client-4f42b5a2b35cf61d6042562195755699f9de177f.zip |
Nightmode
Diffstat (limited to 'src/Post.js')
-rw-r--r-- | src/Post.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Post.js b/src/Post.js index b3e47ea..1140d49 100644 --- a/src/Post.js +++ b/src/Post.js @@ -22,7 +22,7 @@ const ImageModal = ({ href, trigger }) => ( </Modal> ); -const Post = ({ index, post, locked, threadId, currentBoard }) => { +const Post = ({ index, post, locked, threadId, currentBoard, nightMode }) => { if (post.IS_DELETED > 0) { return ( <Comment> @@ -102,7 +102,7 @@ const Post = ({ index, post, locked, threadId, currentBoard }) => { const youtubeVideos = post.message.match(youtubeRe); return ( - <Comment> + <Comment inverted={nightMode}> <Comment.Avatar src={`https://bienvenidoainternet.org/static/ico/${rndAvatar}.gif`} /> |