Skip to content

Commit

Permalink
fix(app): fix placeholder bookmarks
Browse files Browse the repository at this point in the history
  • Loading branch information
bjohansebas committed May 26, 2024
1 parent 987b255 commit 44511fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/web/src/components/thought/thought-editor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ export function ThoughtEditor({
<CreateCollection setOpen={setOpenMenu} />
) : (
<ul className="flex flex-col gap-2">
{userBookmarks.length < 0 ? (
{userBookmarks.length > 0 ? (
userBookmarks.map(({ name, ...res }) => {
const hasThoughtBookmark = thoughtBookmarks.findIndex(({ bookmarkId }) => bookmarkId === res.id)

Expand Down

1 comment on commit 44511fe

@vercel
Copy link

@vercel vercel bot commented on 44511fe May 26, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.