From 0419118fb12ee3a0798282899bc47585438c0859 Mon Sep 17 00:00:00 2001 From: Olivier Gagnon Date: Mon, 18 Oct 2021 14:15:43 -0400 Subject: [PATCH] fix missing table body --- src/ui/React/CharacterOverview.tsx | 273 +++++++++++++++-------------- 1 file changed, 138 insertions(+), 135 deletions(-) diff --git a/src/ui/React/CharacterOverview.tsx b/src/ui/React/CharacterOverview.tsx index 7ac51d71c..ff6bb5ccb 100644 --- a/src/ui/React/CharacterOverview.tsx +++ b/src/ui/React/CharacterOverview.tsx @@ -8,6 +8,7 @@ import { numeralWrapper } from "../../ui/numeralFormat"; import { Reputation } from "./Reputation"; import Table from "@mui/material/Table"; +import TableBody from "@mui/material/TableBody"; import TableCell from "@mui/material/TableCell"; import TableRow from "@mui/material/TableRow"; import Typography from "@mui/material/Typography"; @@ -148,149 +149,151 @@ export function CharacterOverview({ save }: IProps): React.ReactElement { const classes = useStyles(); return ( - - - HP  - - - - {numeralWrapper.formatHp(player.hp)} / {numeralWrapper.formatHp(player.max_hp)} - - - - - {/*Hook for player scripts*/} - - - + + + + HP  + + + + {numeralWrapper.formatHp(player.hp)} / {numeralWrapper.formatHp(player.max_hp)} + + + + + {/*Hook for player scripts*/} + + + - - - Money  - - - - {numeralWrapper.formatMoney(player.money.toNumber())} - - - - - {/*Hook for player scripts*/} - - - + + + Money  + + + + {numeralWrapper.formatMoney(player.money.toNumber())} + + + + + {/*Hook for player scripts*/} + + + - - - Hack  - - - {numeralWrapper.formatSkill(player.hacking_skill)} - - - - {/*Hook for player scripts*/} - - - + + + Hack  + + + {numeralWrapper.formatSkill(player.hacking_skill)} + + + + {/*Hook for player scripts*/} + + + - - - Str  - - - {numeralWrapper.formatSkill(player.strength)} - - - - {/*Hook for player scripts*/} - - - + + + Str  + + + {numeralWrapper.formatSkill(player.strength)} + + + + {/*Hook for player scripts*/} + + + - - - Def  - - - {numeralWrapper.formatSkill(player.defense)} - - - - {/*Hook for player scripts*/} - - - + + + Def  + + + {numeralWrapper.formatSkill(player.defense)} + + + + {/*Hook for player scripts*/} + + + - - - Dex  - - - {numeralWrapper.formatSkill(player.dexterity)} - - - - {/*Hook for player scripts*/} - - - - - - Agi  - - - {numeralWrapper.formatSkill(player.agility)} - - - - {/*Hook for player scripts*/} - - - + + + Dex  + + + {numeralWrapper.formatSkill(player.dexterity)} + + + + {/*Hook for player scripts*/} + + + + + + Agi  + + + {numeralWrapper.formatSkill(player.agility)} + + + + {/*Hook for player scripts*/} + + + - - - Cha  - - - {numeralWrapper.formatSkill(player.charisma)} - - - - {/*Hook for player scripts*/} - - - - + + + Cha  + + + {numeralWrapper.formatSkill(player.charisma)} + + + + {/*Hook for player scripts*/} + + + + - - - - {/*Hook for player scripts*/} - - - - - {/*Hook for player scripts*/} - - - - - {/*Hook for player scripts*/} - - - - - + + + + {/*Hook for player scripts*/} + + + + + {/*Hook for player scripts*/} + + + + + {/*Hook for player scripts*/} + + + + + - - - - - - - + + + + + + + +
); }