Update to React 18
This commit is contained in:
@ -38,5 +38,7 @@ const Form = () => {
|
||||
);
|
||||
};
|
||||
|
||||
ReactDOM.render(<Form />, document.getElementById('root'));
|
||||
ReactDOM.createRoot(document.getElementById('root')).render(
|
||||
<Form />
|
||||
);
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user