Fix #162 Add better error message for wrong version

This commit is contained in:
Misode
2021-08-04 23:07:50 +02:00
parent 93607a0540
commit da33cc2832
2 changed files with 16 additions and 14 deletions

View File

@@ -8,6 +8,6 @@ export function ErrorPanel({ error, onDismiss }: ErrorPanelProps) {
return <div class="error">
{onDismiss && <div class="error-dismiss" onClick={onDismiss}>{Octicon.x}</div>}
<h3>{error}</h3>
<p>You can report this as a bug <a href="https://github.com/misode/misode.github.io/issues/new" target="_blank">on GitHub</a></p>
<p>If you think this is a bug, you can report it <a href="https://github.com/misode/misode.github.io/issues/new" target="_blank">on GitHub</a></p>
</div>
}