Skip to content

Commit

Permalink
Refactor TestIsland component to include data-astro-reload attribute …
Browse files Browse the repository at this point in the history
…in link generation
  • Loading branch information
Adammatthiesen committed Dec 14, 2024
1 parent a79713f commit 548ad64
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,6 @@ if (test) {

<p>Current Selected: {currentDisplay}</p>
<ul>
{pageList.map(({ id, title }) => <li><a href={`?id=${id}`} >{title}</a></li>)}
{pageList.map(({ id, title }) => <li><a href={`?id=${id}`} data-astro-reload>{title}</a></li>)}
</ul>
</div>

0 comments on commit 548ad64

Please sign in to comment.