From 001229801d6cf60b279d8a92c504919778fc6dc7 Mon Sep 17 00:00:00 2001 From: James Morris Date: Fri, 12 Aug 2022 11:16:49 +0100 Subject: [PATCH] Fixed up some small dark mode problems - The loading spinner in dark mode wasn't black - The action buttons didn't hover correctly in dark mode no issue --- apps/comments-ui/src/components/Form.js | 2 +- apps/comments-ui/src/components/Like.js | 2 +- apps/comments-ui/src/components/Reply.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/comments-ui/src/components/Form.js b/apps/comments-ui/src/components/Form.js index 257117eba1..4c42d88931 100644 --- a/apps/comments-ui/src/components/Form.js +++ b/apps/comments-ui/src/components/Form.js @@ -27,7 +27,7 @@ const Form = (props) => { let buttonIcon = null; if (progress === 'sending') { - buttonIcon = ; + buttonIcon = ; } else if (progress === 'sent') { buttonIcon = null; } diff --git a/apps/comments-ui/src/components/Like.js b/apps/comments-ui/src/components/Like.js index 232d209354..c8aa6d0486 100644 --- a/apps/comments-ui/src/components/Like.js +++ b/apps/comments-ui/src/components/Like.js @@ -35,7 +35,7 @@ function Like(props) { } return ( - + {props.comment.count.likes} diff --git a/apps/comments-ui/src/components/Reply.js b/apps/comments-ui/src/components/Reply.js index 58dde2642b..a873ac98a9 100644 --- a/apps/comments-ui/src/components/Reply.js +++ b/apps/comments-ui/src/components/Reply.js @@ -6,7 +6,7 @@ function Reply(props) { const {member} = useContext(AppContext); return member ? - () : null; }