Skip to content

Commit

Permalink
Format
Browse files Browse the repository at this point in the history
  • Loading branch information
mybearworld committed Jul 23, 2024
1 parent f3c571e commit 894bd1b
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/components/Menu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export const Menu = (props: MenuProps) => {
{...props.contentProps}
className={twMerge(
"z-[--z-above-sidebar] flex flex-col rounded-lg border border-gray-200 bg-white dark:border-gray-800 dark:bg-gray-950",
props.contextMenu ?? true ? "" : "px-2 py-1",
(props.contextMenu ?? true) ? "" : "px-2 py-1",
)}
align="end"
sideOffset={4}
Expand Down
2 changes: 1 addition & 1 deletion src/components/ProfilePicture.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export const ProfilePicture = (props: ProfilePictureProps) => {
pfp={user && !user.error ? user : NO_PROFILE_PICTURE}
className={props.className}
online={
props.dontShowOnline ?? false ? false
(props.dontShowOnline ?? false) ? false
: props.username ?
ulist.includes(props.username)
: false
Expand Down
2 changes: 1 addition & 1 deletion src/lib/reply.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export const getReply = (post: string): PostWithReplies | null => {
ids: [id, ...(subReply?.ids ?? [])],
postContent: subReply?.postContent ?? postContent,
replyText: subReply ? replyText + subReply.replyText : replyText,
legacy: true
legacy: true,
};
};

Expand Down
4 changes: 2 additions & 2 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ export default defineConfig({
},
},
build: {
target: "esnext"
}
target: "esnext",
},
});

0 comments on commit 894bd1b

Please sign in to comment.