Skip to content

Commit 37dff9d

Browse files
committed
Fix drag-and-drop in strict mode (issue #542)
1 parent 1339015 commit 37dff9d

File tree

7 files changed

+152
-341
lines changed

7 files changed

+152
-341
lines changed

example/package-lock.json

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

example/pages/index.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,11 @@ import PlaygroundContainer from '../components/PlaygroundContainer';
44
import 'bootstrap/dist/css/bootstrap.min.css';
55

66
const App = () => {
7-
return <PlaygroundContainer title='React JSON Schema Form Builder' />;
7+
return (
8+
<React.StrictMode>
9+
<PlaygroundContainer title='React JSON Schema Form Builder' />
10+
</React.StrictMode>
11+
);
812
};
913

1014
export default App;

0 commit comments

Comments
 (0)