Skip to content

Commit

Permalink
chore: update jsdoc comments
Browse files Browse the repository at this point in the history
  • Loading branch information
jimniels committed Oct 15, 2023
1 parent d8bf8f1 commit 4dcaefb
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/js/components/Header.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,16 @@ export default function Header() {
learnMoreIsVisible ? "button--primary button--is-active" : "",
].join(" ");

// @ts-expect-error
const version = window.VERSION;

return html`
<${React.Fragment}>
<header class="Header wrapper">
<h1 class="Header__title">Readlists</h1>
<button
class=${btnClasses}
onClick=${(e) => {
onClick=${() => {
setLearnMoreIsVisible(!learnMoreIsVisible);
}}
title="${learnMoreIsVisible ? "Hide" : "Show"} more info"
Expand All @@ -42,7 +45,7 @@ export default function Header() {
<p>
Made by <a href="https://www.jim-nielsen.com">Jim Nielsen</a>.
Readlists version <code>${window.VERSION}</code>
Readlists version <code>${version}</code>
</p>
</div>
`
Expand Down

0 comments on commit 4dcaefb

Please # to comment.