mirror of
https://git.rdcenter.ru/RDCenter/skb-kit.git
synced 2026-12-05 03:29:45 +00:00
Рефакторинг получения записей и медиа. Все нужные корректировки в зависимый код внесены
This commit is contained in:
1 parent
1c5ace468a
commit
b07b5ee57e
10 files changed
+69
-99
No files matched your search
@@ -17,6 +17,7 @@ function Slider({ autoPlay = 0, autoPlayTime = 0 }) {
|
||||
const loadData = async () => {
|
||||
const newMediaList = await getMedia('gallery');
|
||||
setMediaList(newMediaList);
|
||||
console.log('sliderMedia', newMediaList)
|
||||
};
|
||||
loadData();
|
||||
}, []);
|
||||
|
||||
Reference in new issue
Block a user