chore: remove the comment about material bug
Signed-off-by: blam <ben@blam.sh>
This commit is contained in:
@@ -46,11 +46,6 @@ declare function ButtonType(props: ButtonProps): JSX.Element;
|
||||
const LinkWrapper = (props: LinkProps) => <Link {...props} color="initial" />;
|
||||
|
||||
const ActualButton = React.forwardRef<any, ButtonProps>((props, ref) => (
|
||||
/**
|
||||
This temporarily fixes a bug in material-ui where the color of the Link
|
||||
overrides the color of the button
|
||||
https://github.com/mui-org/material-ui/issues/28852
|
||||
*/
|
||||
<MaterialButton ref={ref} component={LinkWrapper} {...props} />
|
||||
)) as { (props: ButtonProps): JSX.Element };
|
||||
|
||||
|
||||
Reference in New Issue
Block a user