Skip to content

Commit 6b101df

Browse files
committed
Fix type error in demo
1 parent dbc445c commit 6b101df

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

demos/bookstore/app/admin.books.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -240,6 +240,7 @@ export default {
240240
price: parseFloat(formData.get('price')?.toString() ?? '0'),
241241
genre: formData.get('genre')?.toString() ?? '',
242242
coverUrl: formData.get('cover')?.toString() ?? '/images/placeholder.jpg',
243+
imageUrls: [],
243244
isbn: formData.get('isbn')?.toString() ?? '',
244245
publishedYear: parseInt(formData.get('publishedYear')?.toString() ?? '2024', 10),
245246
inStock: formData.get('inStock')?.toString() === 'true',

0 commit comments

Comments
 (0)