Fix contract and update to patch.

Signed-off-by: Aramis Sennyey <sennyeya@amazon.com>
This commit is contained in:
Aramis Sennyey
2023-02-27 11:25:39 -05:00
parent 69002a3368
commit cb79a10439
2 changed files with 24 additions and 21 deletions
@@ -23,26 +23,29 @@ export type Props = {
rings: Ring[];
};
const useStyles = makeStyles<Theme>(theme => ({
ring: {
fill: 'none',
stroke: '#bbb',
strokeWidth: '1px',
},
axis: {
fill: 'none',
stroke: '#bbb',
strokeWidth: '1px',
},
text: {
pointerEvents: 'none',
userSelect: 'none',
fill: theme.palette.text.primary,
fontSize: '25px',
fontWeight: 800,
opacity: 0.35,
},
}));
const useStyles = makeStyles<Theme>(
theme => ({
ring: {
fill: 'none',
stroke: '#bbb',
strokeWidth: '1px',
},
axis: {
fill: 'none',
stroke: '#bbb',
strokeWidth: '1px',
},
text: {
pointerEvents: 'none',
userSelect: 'none',
fill: theme.palette.text.primary,
fontSize: '25px',
fontWeight: 800,
opacity: 0.7,
},
}),
{ name: 'PluginTechRadarGrid' },
);
// A component for the background grid of the radar, with axes, rings etc. It will render around the origin, i.e.
// assume that (0, 0) is in the middle of the drawing.