Skip to content

Commit 9cf1b1f

Browse files
committed
fix: cloud build
1 parent 6059d7d commit 9cf1b1f

File tree

3 files changed

+83
-58
lines changed

3 files changed

+83
-58
lines changed

package-lock.json

Lines changed: 77 additions & 55 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@
4242
"@react-jsonschema-form-components/material-radio-group": "2.0.1",
4343
"@react-jsonschema-form-utils/enum-utils": "2.0.1",
4444
"@react-jsonschema-form-utils/parse-values": "2.0.1",
45+
"@react-jsonschema-form-interceptors/translate-range-date": "2.0.0",
46+
"@react-jsonschema-form-interceptors/translate-ratings": "2.0.0",
4547
"ajv": "6.12.6",
4648
"body-parser": "1.19.0",
4749
"brace": "0.11.1",

src/demo/body/Example.jsx

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ import FullscreenIcon from '@material-ui/icons/Fullscreen';
1010
import FullscreenExitIcon from '@material-ui/icons/FullscreenExit';
1111
import Paper from '@material-ui/core/Paper';
1212

13+
// Custom interceptors
14+
import translateRangeDate from '@react-jsonschema-form-interceptors/translate-range-date/dist';
15+
import translateRatings from '@react-jsonschema-form-interceptors/translate-ratings/dist';
16+
1317
// Internal
1418
import Form from '../../Form';
1519
import useStyles from './example-styles';
@@ -19,9 +23,6 @@ import Source from './Source';
1923
import CustomRating from './custom-components/rating.component';
2024
import CustomComponent from './custom-components/range-picker.component';
2125

22-
// Custom interceptors
23-
import translateRangeDate from '../../fields/interceptors/translate-range-date/dist';
24-
import translateRatings from '../../fields/interceptors/translate-ratings/dist';
2526

2627
const FormComponent = ({
2728
givenSchema,

0 commit comments

Comments
 (0)