fix: More linter errors
This commit is contained in:
@@ -302,7 +302,7 @@ export default function CharacterSheet() {
|
||||
ritualsNotes: d.rn ?? d.ritualsNotes ?? "",
|
||||
});
|
||||
setLevel(d.lv ?? d.level ?? 1);
|
||||
setFp(parseInt(d.fp) || 0);
|
||||
setFp(parseInt(d.fp, 10) || 0);
|
||||
|
||||
const sa = d.sa ?? d.statusesActive ?? [];
|
||||
setStatuses(Object.fromEntries(STATUSES.map((s) => [s, sa.includes(s)])));
|
||||
|
||||
@@ -401,7 +401,7 @@ export default function MainPage({
|
||||
value={fp}
|
||||
min="0"
|
||||
max="20"
|
||||
onChange={(e) => setFp(parseInt(e.target.value) || 0)}
|
||||
onChange={(e) => setFp(parseInt(e.target.value, 10) || 0)}
|
||||
style={{
|
||||
width: 70,
|
||||
textAlign: "center",
|
||||
|
||||
Reference in New Issue
Block a user