mirror of
https://github.com/PrimalHQ/primal-web-app.git
synced 2024-10-03 02:10:55 +00:00
Fix verification check display in Note header
This commit is contained in:
parent
d3fe74e3c8
commit
959bce3db2
@ -221,6 +221,13 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
.verificationFailed {
|
||||||
|
display: inline-block;
|
||||||
|
width: 4px;
|
||||||
|
height: 4px;
|
||||||
|
}
|
||||||
|
|
||||||
@media only screen and (max-width: 720px) {
|
@media only screen and (max-width: 720px) {
|
||||||
.note {
|
.note {
|
||||||
width: 100dvw;
|
width: 100dvw;
|
||||||
|
@ -32,7 +32,9 @@ const NoteAuthorInfo: Component<{
|
|||||||
{authorName(props.author)}
|
{authorName(props.author)}
|
||||||
</span>
|
</span>
|
||||||
|
|
||||||
<VerificationCheck user={props.author} />
|
<VerificationCheck user={props.author} fallback={
|
||||||
|
<div class={styles.verificationFailed}></div>
|
||||||
|
} />
|
||||||
|
|
||||||
<Show
|
<Show
|
||||||
when={props.author.nip05}
|
when={props.author.nip05}
|
||||||
|
@ -13,7 +13,7 @@ const VerificationCheck: Component<{
|
|||||||
id?: string,
|
id?: string,
|
||||||
}> = (props) => {
|
}> = (props) => {
|
||||||
|
|
||||||
const [isVerified, setIsVerified] = createSignal(true);
|
const [isVerified, setIsVerified] = createSignal(false);
|
||||||
|
|
||||||
const isVerifiedByPrimal = () => {
|
const isVerifiedByPrimal = () => {
|
||||||
const nip05 = props.user?.nip05;
|
const nip05 = props.user?.nip05;
|
||||||
|
Loading…
Reference in New Issue
Block a user