feat: image resizer
This commit is contained in:
@@ -31,7 +31,7 @@ function DraftItem({ draft, onDeleted }: { draft: Draft; onDeleted: (id: string)
|
||||
{draft.title}
|
||||
</h3>
|
||||
<div className="flex flex-row items-center gap-2">
|
||||
<Link href={`/news/${draft.slug}/edit`}>
|
||||
<Link href={`/${draft.type.toLocaleLowerCase()}/${draft.slug}/edit`}>
|
||||
<Button variant="secondary" size="icon-sm"><PencilIcon /></Button>
|
||||
</Link>
|
||||
<Button disabled={isPending} variant="secondary" size="icon-sm" onClick={() => run(draft.id, draft.type)}>
|
||||
|
||||
Reference in New Issue
Block a user