Enable useNextVariants and replace depracated typography variants
[arvados-workbench2.git] / src / views / my-account-panel / my-account-panel-root.tsx
index a0b29fb4b41f6764285c08378a8ee1649d3efd20..819a16a410801d2ae6bff4638bcf32c71f5bb34d 100644 (file)
@@ -69,7 +69,7 @@ export const MyAccountPanelRoot = withStyles(styles)(
     ({ classes, isValid, handleSubmit, reset, isPristine, invalid, submitting }: MyAccountPanelRootProps) => {
         return <Card className={classes.root}>
             <CardContent>
-                <Typography variant="title" className={classes.title}>User profile</Typography>
+                <Typography variant='h6' className={classes.title}>User profile</Typography>
                 <form onSubmit={handleSubmit}>
                     <Grid container direction="row" spacing={24}>
                         <Grid item xs={6}>