Skip to content

Commit

Permalink
fix(header-component): use lower case for donate url prop
Browse files Browse the repository at this point in the history
  • Loading branch information
arathjz committed Sep 18, 2020
1 parent 3176c6f commit 4bb2e06
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions packages/header-component/src/components.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export namespace Components {
/**
* Link to follow in order to prompt user to donate
*/
"donateURL": string;
"donateurl": string;
/**
* URL to the component host without the latest "/"
*/
Expand Down Expand Up @@ -148,7 +148,7 @@ declare namespace LocalJSX {
/**
* Link to follow in order to prompt user to donate
*/
"donateURL"?: string;
"donateurl"?: string;
/**
* URL to the component host without the latest "/"
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export class Header {
/**
* Link to follow in order to prompt user to donate
*/
@Prop() donateURL: string = "https://membership.debtcollective.org";
@Prop() donateurl: string = "https://membership.debtcollective.org";

/**
* URL to the community
Expand Down Expand Up @@ -156,14 +156,14 @@ export class Header {
<a href={loginURL({ community: this.community, host: this.host })} class="btn btn-outline">
<span class="d-md-flex">Member</span>&nbsp;Login
</a>
<a href={this.donateURL} class="btn btn-primary">
<a href={this.donateurl} class="btn btn-primary">
Donate
</a>
</div>
)}
</div>
</header>
<dc-menu open={this.isMenuOpen}>
<dc-menu open={this.isMenuOpen} logo={this.logo}>
<slot name="menu">
{this._links.map(({ text, href }) => (
<div class="nav-item">
Expand Down

0 comments on commit 4bb2e06

Please # to comment.