-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
666802d
commit d132efd
Showing
7 changed files
with
28 additions
and
128 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
"use client"; | ||
|
||
import { FormattedMessage } from "react-intl"; | ||
import { Alert, AlertIcon } from "@chakra-ui/react"; | ||
|
||
import Profile from "./profile"; | ||
|
||
export default function Pubkey({ pubkey }: { pubkey?: string }) { | ||
return pubkey ? ( | ||
<Profile pubkey={pubkey} /> | ||
) : ( | ||
<Alert> | ||
<AlertIcon /> | ||
<FormattedMessage | ||
id="bad-npub" | ||
description="Error shown when failing to decode npub" | ||
defaultMessage="Could not decode npub" | ||
/> | ||
</Alert> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
"use client" | ||
|
||
import { useState, useEffect } from "react"; | ||
|
||
import { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
d132efd
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
ngine-relays – ./apps/relays
ngine-relays-git-main-bandarra-protonmailc-s-team.vercel.app
ngine-relays.vercel.app
ngine-relays-bandarra-protonmailc-s-team.vercel.app