Skip to content

Commit

Permalink
Make requested changes
Browse files Browse the repository at this point in the history
  • Loading branch information
netalondon committed Jan 3, 2024
1 parent b6f8038 commit 916a963
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion web/src/shell/test_panel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export const TestPanel = ({
try {
cmp = await fs.readFile(path.replace(/\.tst$/, ".cmp"));
} catch (e) {
// The doesn't have to be a compare file
// There doesn't have to be a compare file
}
onLoadTest?.(tst, cmp);
// await compile.current({ tst });
Expand Down
2 changes: 1 addition & 1 deletion web/src/versions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const VERSION_KEY = "version";
const CURRENT_VERSION = 2;

export function getVersion() {
return Number(localStorage.getItem(VERSION_KEY)) ?? 0;
return Number(localStorage.getItem(VERSION_KEY) ?? "0");
}

export function setVersion(version: number) {
Expand Down

0 comments on commit 916a963

Please sign in to comment.