Fix async/await

This commit is contained in:
Valentin Silytuin 2023-06-20 00:14:50 +04:00
parent 8e192ed604
commit 5d8e06f581
1 changed files with 1 additions and 1 deletions

View File

@ -97,7 +97,7 @@ const show = async (duration = 500, easing = 'linear') => {
};
const init = async (items = [], options = {}, index = 0) => {
const {Swiper, Navigation, Pagination} = import('swiper');
const {Swiper, Navigation, Pagination} = await import('swiper');
Swiper.use([Navigation, Pagination]);
let isVideoInGallery = false;