fix prettier warnings
This commit is contained in:
@ -26,7 +26,7 @@ const Bookmarks = ({ pubkey, bookmarks, related }: BookmarksProps) => {
|
|||||||
function renderOption(p: HexKey) {
|
function renderOption(p: HexKey) {
|
||||||
const profile = UserCache.getFromCache(p);
|
const profile = UserCache.getFromCache(p);
|
||||||
return profile ? <option value={p}>{profile?.display_name || profile?.name}</option> : null;
|
return profile ? <option value={p}>{profile?.display_name || profile?.name}</option> : null;
|
||||||
}
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="main-content">
|
<div className="main-content">
|
||||||
@ -44,7 +44,7 @@ const Bookmarks = ({ pubkey, bookmarks, related }: BookmarksProps) => {
|
|||||||
{bookmarks
|
{bookmarks
|
||||||
.filter(b => (onlyPubkey === "all" ? true : b.pubkey === onlyPubkey))
|
.filter(b => (onlyPubkey === "all" ? true : b.pubkey === onlyPubkey))
|
||||||
.map(n => {
|
.map(n => {
|
||||||
switch(n.kind){
|
switch (n.kind) {
|
||||||
case EventKind.TextNote:
|
case EventKind.TextNote:
|
||||||
return (
|
return (
|
||||||
<Note
|
<Note
|
||||||
|
Reference in New Issue
Block a user