Skip to content

Commit

Permalink
svelte: Remove <main> from component definition
Browse files Browse the repository at this point in the history
  • Loading branch information
Hugo Sum authored and laymonage committed Apr 9, 2022
1 parent 7ebc35c commit 972a967
Showing 1 changed file with 15 additions and 17 deletions.
32 changes: 15 additions & 17 deletions svelte/src/lib/Giscus.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -26,20 +26,18 @@
export let loading: Loading = 'eager';
</script>

<main>
<giscus-widget
{id}
{repo}
repoid={repoId}
{category}
categoryid={categoryId}
{mapping}
{term}
reactionsenabled={reactionsEnabled}
emitmetadata={emitMetadata}
inputposition={inputPosition}
{theme}
{lang}
{loading}
/>
</main>
<giscus-widget
{id}
{repo}
repoid={repoId}
{category}
categoryid={categoryId}
{mapping}
{term}
reactionsenabled={reactionsEnabled}
emitmetadata={emitMetadata}
inputposition={inputPosition}
{theme}
{lang}
{loading}
/>

1 comment on commit 972a967

@vercel
Copy link

@vercel vercel bot commented on 972a967 Apr 9, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

giscus-component – ./

giscus-component-git-main-giscus.vercel.app
giscus-component.vercel.app
giscus-component-giscus.vercel.app

Please sign in to comment.