Skip to content

Commit 8fcd8a4

Browse files
authored
Merge pull request formio#419 from formio/fixed-wrong-builder-import
Fixed wrong builder import
2 parents a84dda2 + ecf4417 commit 8fcd8a4

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/components/FormBuilder.jsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import React, {useEffect, useRef, useState, useCallback, useLayoutEffect} from 'react';
22
import PropTypes from 'prop-types';
3-
import {Formio} from 'formiojs';
4-
const FormioFormBuilder = Formio.Builder;
3+
import {FormBuilder as FormioFormBuilder} from 'formiojs';
54

65
const FormBuilder = (props) => {
76
const builderRef = useRef();

0 commit comments

Comments
 (0)