Вынесли логику из компонента App в Catalog. Добавили маршрутизацию в main.jsx

This commit is contained in:
isHardCoded
2025-07-09 22:25:03 +03:00
parent b64d0af124
commit 3daa7a52e8
5 changed files with 25 additions and 27 deletions
+11 -1
View File
@@ -1,5 +1,15 @@
import styles from './index.module.scss'
import Header from '../../components/header/index'
import ProductList from '../../components/list/index'
const Catalog = () => {
return <></>
return (
<div className={styles.container}>
<Header />
<ProductList />
</div>
)
}
export default Catalog