refactor: rename product to party-event across frontend modules and types
This commit is contained in:
@@ -2,7 +2,7 @@ import type { BoxProps } from '@mui/material/Box';
|
||||
import Box from '@mui/material/Box';
|
||||
import Pagination, { paginationClasses } from '@mui/material/Pagination';
|
||||
import { paths } from 'src/routes/paths';
|
||||
import type { IProductItem } from 'src/types/party-event';
|
||||
import type { IPartyEventItem } from 'src/types/party-event';
|
||||
import { ProductItem } from './party-event-item';
|
||||
import { ProductItemSkeleton } from './party-event-skeleton';
|
||||
|
||||
@@ -10,10 +10,10 @@ import { ProductItemSkeleton } from './party-event-skeleton';
|
||||
|
||||
type Props = BoxProps & {
|
||||
loading?: boolean;
|
||||
products: IProductItem[];
|
||||
products: IPartyEventItem[];
|
||||
};
|
||||
|
||||
export function ProductList({ products, loading, sx, ...other }: Props) {
|
||||
export function PartyEventList({ products, loading, sx, ...other }: Props) {
|
||||
const renderLoading = () => <ProductItemSkeleton />;
|
||||
|
||||
const renderList = () =>
|
||||
|
Reference in New Issue
Block a user