Pretty up bm page

This commit is contained in:
zkldi
2022-02-09 02:59:13 +00:00
parent 415c33d62b
commit c2dbbd3e2c
@@ -8,10 +8,6 @@ import { ImportStates, NotStartedState } from "types/import";
export default function BatchManualPage() {
useSetSubheader(["Dashboard", "Import Scores", "Batch Manual"]);
const [file, setFile] = useState<File | null>(null);
const [valid, setValid] = useState(false);
const [importState, setImportState] = useState<ImportStates>(NotStartedState);
return (
<ImportFileInfo
acceptMime="application/json"
@@ -39,8 +35,8 @@ export default function BatchManualPage() {
return {
valid: true,
info: {
game: FormatGame(data.meta.game, data.meta.playtype),
scores: data.scores.length,
Game: FormatGame(data.meta.game, data.meta.playtype),
Scores: data.scores.length,
},
};
}}