Skip to content

Commit

Permalink
Fix drag-and-drop in strict mode (issue #542)
Browse files Browse the repository at this point in the history
  • Loading branch information
raymond-lam committed Apr 30, 2024
1 parent 1339015 commit 37dff9d
Show file tree
Hide file tree
Showing 7 changed files with 152 additions and 341 deletions.
185 changes: 2 additions & 183 deletions example/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 5 additions & 1 deletion example/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,11 @@ import PlaygroundContainer from '../components/PlaygroundContainer';
import 'bootstrap/dist/css/bootstrap.min.css';

const App = () => {
return <PlaygroundContainer title='React JSON Schema Form Builder' />;
return (
<React.StrictMode>
<PlaygroundContainer title='React JSON Schema Form Builder' />
</React.StrictMode>
);
};

export default App;
Loading

0 comments on commit 37dff9d

Please sign in to comment.