Skip to content

Commit 9aa140d

Browse files
committed
Solving formatting error
1 parent 04b2894 commit 9aa140d

File tree

1 file changed

+13
-15
lines changed

1 file changed

+13
-15
lines changed

src/components/Sidebar.tsx

Lines changed: 13 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -204,24 +204,22 @@ export function Sidebar({
204204
}
205205
>
206206
<div className="flex w-full items-center justify-between gap-2">
207-
{/* <div className="flex items-center gap-2"> */}
208-
<div className="flex gap-2">
209-
{content.type === 'video' && <Check content={content} />}
210-
{content.type === 'video' && <Play className="size-4" />}
211-
{content.type === 'notion' && <File className="size-4" />}
212-
</div>
213-
<div className='grow'>
214-
{content.title}
215-
</div>
216-
{content.type === 'video' && (
217-
<div className='flex-none'>
207+
<div className="flex gap-2">
208+
{content.type === 'video' && <Check content={content} />}
209+
{content.type === 'video' && <Play className="size-4" />}
210+
{content.type === 'notion' && <File className="size-4" />}
211+
</div>
212+
<div className="grow">
213+
{content.title}
214+
</div>
215+
{content.type === 'video' && (
216+
<div className="flex-none">
218217
<BookmarkButton
219218
bookmark={content.bookmark ?? null}
220219
contentId={content.id}
221-
/>
222-
</div>
223-
)}
224-
{/* </div> */}
220+
/>
221+
</div>
222+
)}
225223
</div>
226224
</Link>
227225
);

0 commit comments

Comments
 (0)