Stop showing the word "null" above the menu (Fixes #26)

render() passed null to root.append(), which prints it as text. Only append
the reset banner when there is one.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-24 14:20:18 -05:00
parent 1cdebcef85
commit 14a46abc63
2 changed files with 2 additions and 2 deletions

View File

@@ -2,7 +2,7 @@
// YYMMDD is the date, X the iteration that day (A first, B second, ...).
// Bump with `npm run bump` (see bump-version.js). build.js strips `export`.
export const APP_VERSION = '261124F';
export const APP_VERSION = '261124G';
const VERSION_RE = /^(\d{6})([A-Z])$/;
export const isVersion = (v) => typeof v === 'string' && VERSION_RE.test(v);