Skip to content

Commit

Permalink
fix: rename as produtList
Browse files Browse the repository at this point in the history
  • Loading branch information
buzzracharyeah-rejan committed Jul 8, 2023
1 parent d05ebbd commit 0b31fb5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import FlexBetween from '../../../components/FlexBetween';
import ArrowBackIcon from '@mui/icons-material/ArrowBack';
import ArrowForwardIcon from '@mui/icons-material/ArrowForward';

const ShoppingItems = () => {
const ProductList = () => {
const classes = useStyles();
const theme = useTheme();
const [hoveredCard, setHoveredCard] = useState<string | null>(null);
Expand Down Expand Up @@ -215,4 +215,4 @@ const ShoppingItems = () => {
);
};

export default ShoppingItems;
export default ProductList;
4 changes: 2 additions & 2 deletions src/scenes/Shop/index.tsx
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
import { Box } from '@mui/material';
import Header from '../../components/Header';
import ShoppingItems from './fragments/ShoppingItems';
import ProductList from './fragments/ProductList';
import Banner from '../../components/Banner';

const Shop = () => {
return (
<>
<Header title='Shop' location='Home' location1='Shop' />
<ShoppingItems />
<ProductList />
<Banner />
{/* <Box sx={{ border: '1px solid #000', display: 'flex', justifyContent: 'center ' }}></Box> */}
</>
Expand Down

0 comments on commit 0b31fb5

Please sign in to comment.