fix prettier warnings

This commit is contained in:
vivganes 2023-04-07 16:39:47 +05:30
parent 14bfc481c4
commit e9a372d974

View File

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