fix: HTMLElement is not defined
This commit is contained in:
parent
39a5cb4a9b
commit
d8bf0e69a0
1 changed files with 6 additions and 5 deletions
|
@ -1,9 +1,5 @@
|
|||
---
|
||||
import Comments from "../../../assets/js/oom-comments.js";
|
||||
import "../../../assets/css/oom-styles.css";
|
||||
|
||||
//Register the custom element with your desired name
|
||||
customElements.define("oom-comments", Comments);
|
||||
const { mastodonLink, bskyLink } = Astro.props;
|
||||
---
|
||||
<oom-comments
|
||||
|
@ -11,4 +7,9 @@ const { mastodonLink, bskyLink } = Astro.props;
|
|||
bluesky={bskyLink}
|
||||
cache="600" >
|
||||
No comments yet
|
||||
</oom-comments>
|
||||
</oom-comments>
|
||||
<script>
|
||||
import Comments from "../../../assets/js/oom-comments.js";
|
||||
//Register the custom element with your desired name
|
||||
customElements.define("oom-comments", Comments);
|
||||
</script>
|
Loading…
Add table
Add a link
Reference in a new issue