Skip to content
Snippets Groups Projects
Verified Commit e971e67a authored by João Magalhães's avatar João Magalhães :rocket:
Browse files

fix: better format number

parent 80902a2b
No related branches found
No related tags found
1 merge request!12Version 0.4.1
Pipeline #1432 passed
......@@ -542,7 +542,11 @@ export const App: FC<AppProps> = ({ emulator, backgrounds = ["264653"] }) => {
key="rom-size"
name={"ROM Size"}
value={
romInfo.name ? `${romInfo.size} bytes` : "-"
romInfo.size
? `${new Intl.NumberFormat().format(
romInfo.size
)} bytes`
: "-"
}
/>
<Pair
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment