Skip to content

Commit

Permalink
remove old comment, whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
FX-Wood committed Oct 19, 2023
1 parent 573507b commit c1b4878
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions app/pages/events/$id.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ export default function ({ html, state = {} }) {
let hasSponsors = sponsors && sponsors.length > 0
if (display === "email") {
let eventDate = new Date(date)
// this xmp tag is a hack, detailed in this stackoverflow answer:
// https://stackoverflow.com/a/16785992
let htmlContents = `
<p>GREETING TEXT</p>
<!-- sponsor -->
Expand Down Expand Up @@ -45,7 +43,6 @@ export default function ({ html, state = {} }) {
</style>
<div class="container">
<button id="copy-html-btn">Copy HTML to clipboard</button>
${htmlContents}
<script>
const copyHTML = async () => {
Expand Down

0 comments on commit c1b4878

Please sign in to comment.