buttons should have typograaphy as child

This commit is contained in:
Olivier Gagnon
2021-09-25 15:41:00 -04:00
parent 86da356478
commit 6d179be018
3 changed files with 5 additions and 13 deletions
+1 -5
View File
@@ -41,9 +41,5 @@ export function PurchaseButton(props: IProps): React.ReactElement {
);
}
return (
<Button onClick={props.onClick}>
<Typography>{text}</Typography>
</Button>
);
return <Button onClick={props.onClick}>{text}</Button>;
}