Skip to content

Commit

Permalink
tocbot インポート文調整
Browse files Browse the repository at this point in the history
  • Loading branch information
luminus-xd committed Sep 23, 2024
1 parent c6c4c73 commit bf83d8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Toc.astro
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import styles from '@styles/components/toc.module.css';
</div>

<script>
import tocbot from 'tocbot';
import * as tocbot from 'tocbot';

document.addEventListener('astro:page-load', () => {
const toc = document.querySelector('.toc');
Expand Down

0 comments on commit bf83d8f

Please sign in to comment.