Skip to content

Commit

Permalink
fix: solve passing wrong attributes bug
Browse files Browse the repository at this point in the history
- delete import statement in the header.js because it doesn't have to be imported in the header.js
  • Loading branch information
sounmind committed Jun 16, 2024
1 parent 82aeecc commit d77b74d
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions components/header.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import "./link-button/link-button.js";

const template = document.createElement("template");
template.innerHTML = `
<style>
Expand Down Expand Up @@ -50,8 +48,8 @@ template.innerHTML = `
</a>
<div class="buttons-container">
<link-button href="#join-instruction-container" size="large" variant="primary">참여방법 안내</link-button>
<link-button href="https://discord.gg/43UkheRV" size="large" variant="secondary">디스코드 참여하기</link-button>
<link-button href="#join-instruction-container" size="small" variant="ghost">참여방법 안내</link-button>
<link-button href="https://discord.gg/43UkheRV" size="small" variant="secondary">디스코드 참여하기</link-button>
</div>
</header>
`;
Expand All @@ -65,4 +63,3 @@ class HeaderComponent extends HTMLElement {
}

customElements.define("header-component", HeaderComponent);

0 comments on commit d77b74d

Please sign in to comment.