From 959bce3db2340f70b5ac81107e2d2daacaaeeab1 Mon Sep 17 00:00:00 2001 From: Bojan Mojsilovic Date: Mon, 15 Jan 2024 16:01:04 +0100 Subject: [PATCH] Fix verification check display in Note header --- src/components/Note/Note.module.scss | 7 +++++++ src/components/Note/NoteAuthorInfo.tsx | 4 +++- src/components/VerificationCheck/VerificationCheck.tsx | 2 +- 3 files changed, 11 insertions(+), 2 deletions(-) diff --git a/src/components/Note/Note.module.scss b/src/components/Note/Note.module.scss index 4c017df..5e188d5 100644 --- a/src/components/Note/Note.module.scss +++ b/src/components/Note/Note.module.scss @@ -221,6 +221,13 @@ } } + +.verificationFailed { + display: inline-block; + width: 4px; + height: 4px; +} + @media only screen and (max-width: 720px) { .note { width: 100dvw; diff --git a/src/components/Note/NoteAuthorInfo.tsx b/src/components/Note/NoteAuthorInfo.tsx index 1c2120e..34781e2 100644 --- a/src/components/Note/NoteAuthorInfo.tsx +++ b/src/components/Note/NoteAuthorInfo.tsx @@ -32,7 +32,9 @@ const NoteAuthorInfo: Component<{ {authorName(props.author)} - + + } /> = (props) => { - const [isVerified, setIsVerified] = createSignal(true); + const [isVerified, setIsVerified] = createSignal(false); const isVerifiedByPrimal = () => { const nip05 = props.user?.nip05;