Skip to content

Commit 444bfa0

Browse files
RitekNiallJoeMaher
andauthored
#1278 Fix for the flickering MenuItem on "my-posts?tab=drafts" page (#1306)
Co-authored-by: Niall Maher <[email protected]>
1 parent 01581a6 commit 444bfa0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/(app)/my-posts/_client.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ const MyPosts = () => {
206206
<div className="dropdown-bg py-1">
207207
<MenuItem>
208208
<Link
209-
className="dropdown-item group flex items-center px-4 py-2 text-sm text-neutral-700 data-[focus]:bg-neutral-100 data-[focus]:text-neutral-500"
209+
className="dropdown-item group flex items-center px-4 py-2 text-sm text-neutral-700 data-[focus]:text-neutral-500"
210210
href={`/create/${id}`}
211211
>
212212
<PencilIcon
@@ -220,7 +220,7 @@ const MyPosts = () => {
220220
<MenuItem>
221221
<button
222222
onClick={() => setSelectedArticleToDelete(id)}
223-
className="dropdown-item group flex w-full items-center px-4 py-2 text-sm text-neutral-700 data-[focus]:bg-neutral-100 data-[focus]:text-neutral-500"
223+
className="dropdown-item group flex w-full items-center px-4 py-2 text-sm text-neutral-700 data-[focus]:text-neutral-500"
224224
>
225225
<TrashIcon
226226
className="mr-3 h-5 w-5 text-neutral-400 group-hover:text-neutral-400"

0 commit comments

Comments
 (0)