-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enhancement 163 header core api #227
Conversation
…o-BlogBlock #140-api-inserted-to-BlogBlock
добавить правило импорта
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Мне нравится!
Только по комментарию вопросы
src/widgets/Header/Header.tsx
Outdated
import { fetchCategories } from '@/entities/Category/slice/categorySlice' | ||
import SearchProduct from '@/features/SearchProduct' | ||
import { linkItems } from '@/mockData/catalogListData' | ||
// import { coreBaseData } from '@/mockData/coreBaseData' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
нужен комментарий?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
раньше данные получались из мок, теперь с сервера, можно и удалить в целом
сделано получение информации в footer с api по аналогии с header. также перенесен компонент footer из components в widgets