Skip to content

Commit

Permalink
add button text to error pages
Browse files Browse the repository at this point in the history
  • Loading branch information
MikaelSiidorow committed Jan 25, 2024
1 parent 0f2f6ca commit 548e74c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion web/app/error.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@ const Error = ({
<ol>
<li>
1. Kokeile uudestaan{" "}
<button className="btn" onClick={reset}></button>
<button className="btn" onClick={reset}>
Resetoi
</button>
</li>
<li>
2. Päivitä sivu ja nollaa välimuisti <kbd>CTRL</kbd>+
Expand Down
4 changes: 3 additions & 1 deletion web/app/global-error.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@ const Error = ({
<ol>
<li>
1. Kokeile uudestaan{" "}
<button className="btn" onClick={reset}></button>
<button className="btn" onClick={reset}>
Resetoi
</button>
</li>
<li>
2. Päivitä sivu ja nollaa välimuisti <kbd>CTRL</kbd>+
Expand Down

0 comments on commit 548e74c

Please sign in to comment.