Skip to content
Snippets Groups Projects
Commit 337a76b3 authored by Renovate-Bot's avatar Renovate-Bot Committed by Bastien DUMONT
Browse files

fix(deps): update react monorepo to v18 (major)

parent 30ca9e99
Branches
No related tags found
2 merge requests!157Release to master,!117fix(deps): update react monorepo to v18 (major)
...@@ -66,7 +66,7 @@ export const Consents: React.FC<{ type: 'sge' | 'grdf' }> = ({ type }) => { ...@@ -66,7 +66,7 @@ export const Consents: React.FC<{ type: 'sge' | 'grdf' }> = ({ type }) => {
}, },
[] []
) )
const handleChangeRowsPerPage = useCallback(event => { const handleChangeRowsPerPage = useCallback((event: any) => {
setRowsPerPage(event.target.value) setRowsPerPage(event.target.value)
setPage(0) setPage(0)
}, []) }, [])
......
...@@ -229,7 +229,7 @@ const Popups: React.FC = () => { ...@@ -229,7 +229,7 @@ const Popups: React.FC = () => {
} }
setCustomPopup(prev => ({ setCustomPopup(prev => ({
...prev, ...prev,
endDate: newDate.toISO(), endDate: newDate.toISO() || '',
})) }))
}, [popupDuration]) }, [popupDuration])
......
import React from 'react' import { createRoot } from 'react-dom/client'
import ReactDOM from 'react-dom'
import './styles/index.scss'
import App from './App' import App from './App'
import reportWebVitals from './reportWebVitals' import reportWebVitals from './reportWebVitals'
import './styles/index.scss'
ReactDOM.render( const container = document.getElementById('root')
<React.StrictMode> const root = createRoot(container!)
<App /> root.render(<App />)
</React.StrictMode>,
document.getElementById('root')
)
// If you want to start measuring performance in your app, pass a function // If you want to start measuring performance in your app, pass a function
// to log results (for example: reportWebVitals(console.log)) // to log results (for example: reportWebVitals(console.log))
......
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment