Skip to content

Commit ecf4417

Browse files
committed
Fixed wrong builder import
1 parent 5aba2e8 commit ecf4417

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)