feat: update API endpoint for ad creation and enhance InputFile component with category prop

This commit is contained in:
Ardeman
2025-03-12 10:57:48 +08:00
parent 56c31d7a20
commit 930d4b8459
5 changed files with 16 additions and 27 deletions
+5 -7
View File
@@ -35,13 +35,11 @@ export const AdvertisementsPage = () => {
const dataSlot: DataTableSlots = {
1: (value: string) => {
return (
<div>
<img
src={value}
alt={value}
className="aspect-[15/1] h-[50px] max-h-[100px] min-h-[65px] rounded object-cover"
/>
</div>
<img
src={value}
alt={value}
className="aspect-[150/1] h-[50px] rounded object-contain"
/>
)
},
3: (value: string) => (