Improve product cards/pagination, Farsi locale fonts, and super-admin migrate UI.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
co-authored by
Cursor
parent
2e40d5eb4c
commit
f5b2193ba1
@@ -37,7 +37,7 @@ export const dummyProducts: Product[] = catalog.map((item, index) => ({
|
||||
commentCount: [3, 12, 0, 7, 24, 5, 1, 18, 9, 0, 14, 6, 21, 4, 11, 2, 8, 16, 0, 13, 7, 19, 3, 10][index] ?? 0,
|
||||
}))
|
||||
|
||||
export const PRODUCTS_PER_PAGE = 12
|
||||
export const PRODUCTS_PER_PAGE = 24
|
||||
|
||||
export function getProductById(id: string): Product | undefined {
|
||||
return dummyProducts.find((p) => p.id === id)
|
||||
|
||||
Reference in New Issue
Block a user