update listening practice category listing,

This commit is contained in:
louiscklaw
2025-04-20 03:24:18 +08:00
parent 790ec73e50
commit 1349605d6e

View File

@@ -144,8 +144,8 @@ export interface LpCategoriesTableProps {
}
function getCatImageFromId(row: LpCategory): string | undefined {
return `http://127.0.0.1:8090/api/files/${row.collectionId}/${row.id}/${row.cat_image}`;
return 'get cat image from id';
// return `http://127.0.0.1:8090/api/files/${'row.collectionId'}/${'row.id'}/${'row.cat_image'}`;
}
export function LpCategoriesTable({ rows }: LpCategoriesTableProps): React.JSX.Element {