mirror of
https://git.rdcenter.ru/RDCenter/skb-kit.git
synced 2026-12-05 03:49:45 +00:00
Изменить механизм получения медиа; убрать взаимодействие с API FileBird
This commit is contained in:
1 parent
c3aa1cccf8
commit
c6f658c87b
4 files changed
+34
-19
No files matched your search
@@ -15,7 +15,7 @@ function Slider({ autoPlay = 0, autoPlayTime = 0 }) {
|
||||
|
||||
useEffect(() => {
|
||||
const loadData = async () => {
|
||||
const newMediaList = await getMedia('CATEGORY');
|
||||
const newMediaList = await getMedia('gallery');
|
||||
setMediaList(newMediaList);
|
||||
};
|
||||
loadData();
|
||||
|
||||
Reference in new issue
Block a user