We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 958693b commit ff85132Copy full SHA for ff85132
web/src/scans/Scanner.js
@@ -216,13 +216,14 @@ class Scanner extends Component {
216
let { message, icon } = getScanResult(scan);
217
218
icon = React.cloneElement(icon, { style: { fontSize: 72 }});
219
- let title = veteran ? veteran + (plusOne ? ' + 1': '') : scan.cardNumber;
+ let title = veteran ? veteran : scan.cardNumber;
220
221
return (
222
<div>
223
- <div>{title}</div>
+ <Typography component="h2" variant="display2" gutterBottom>{title}</Typography>
224
+ {plusOne && <Typography component="h2" variant="display1" gutterBottom>+1</Typography>}
225
{icon}
- <div>{message}</div>
226
+ <Typography style={{ marginTop: 20 }} variant="title" gutterBottom>{message}</Typography>
227
</div>
228
);
229
}
0 commit comments