mirror of
https://github.com/KazooTTT/kazoottt-blog.git
synced 2025-06-16 23:41:21 +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)
|
||||
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>
|
||||
|
Reference in New Issue
Block a user