fix: update plugin home dependence @rjsf/material-ui to @rjsf/material-ui-v5

Signed-off-by: rui ma <ruima@alauda.io>
This commit is contained in:
rui ma
2023-06-26 18:03:43 +08:00
parent 2a1caca3d6
commit 88c62048fc
4 changed files with 9 additions and 4 deletions
+1 -1
View File
@@ -44,7 +44,7 @@
"@material-ui/icons": "^4.9.1",
"@material-ui/lab": "4.0.0-alpha.61",
"@rjsf/core-v5": "npm:@rjsf/core@5.7.3",
"@rjsf/material-ui": "5.7.3",
"@rjsf/material-ui-v5": "npm:@rjsf/material-ui@5.7.3",
"@rjsf/utils": "5.7.3",
"@rjsf/validator-ajv8": "5.7.3",
"@types/react": "^16.13.1 || ^17.0.0",
@@ -30,7 +30,7 @@ import { Widget } from './types';
import { withTheme } from '@rjsf/core-v5';
import validator from '@rjsf/validator-ajv8';
const Form = withTheme(require('@rjsf/material-ui').Theme);
const Form = withTheme(require('@rjsf/material-ui-v5').Theme);
const useStyles = makeStyles((theme: Theme) =>
createStyles({