mirror of
https://github.com/KazooTTT/kazoottt-blog.git
synced 2025-06-17 16:01:22 +08:00
fix: remove useless import
This commit is contained in:
@ -89,15 +89,4 @@ const { headings } = await post.render()
|
|||||||
|
|
||||||
const observer = new IntersectionObserver(callback)
|
const observer = new IntersectionObserver(callback)
|
||||||
observer.observe(targetHeader)
|
observer.observe(targetHeader)
|
||||||
|
|
||||||
import PhotoSwipeLightbox from 'photoswipe/lightbox'
|
|
||||||
import 'photoswipe/style.css'
|
|
||||||
|
|
||||||
const lightbox = new PhotoSwipeLightbox({
|
|
||||||
gallery: '#blog-gallery',
|
|
||||||
children: 'a',
|
|
||||||
pswpModule: () => import('photoswipe')
|
|
||||||
})
|
|
||||||
|
|
||||||
lightbox.init()
|
|
||||||
</script>
|
</script>
|
||||||
|
Reference in New Issue
Block a user