Skip to content

Commit

Permalink
Update to React 18
Browse files Browse the repository at this point in the history
  • Loading branch information
grafixeyehero committed Jun 9, 2024
1 parent b5d6e37 commit be891c3
Show file tree
Hide file tree
Showing 36 changed files with 339 additions and 311 deletions.
161 changes: 71 additions & 90 deletions package-lock.json

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

8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
"@types/loadable__component": "5.13.9",
"@types/lodash-es": "4.17.12",
"@types/markdown-it": "14.1.1",
"@types/react": "17.0.80",
"@types/react-dom": "17.0.25",
"@types/react": "18.3.3",
"@types/react-dom": "18.3.0",
"@types/sortablejs": "1.15.8",
"@typescript-eslint/eslint-plugin": "5.62.0",
"@typescript-eslint/parser": "5.62.0",
Expand Down Expand Up @@ -112,9 +112,9 @@
"material-design-icons-iconfont": "6.7.0",
"native-promise-only": "0.8.1",
"pdfjs-dist": "3.11.174",
"react": "17.0.2",
"react": "18.3.1",
"react-blurhash": "0.3.0",
"react-dom": "17.0.2",
"react-dom": "18.3.1",
"react-lazy-load-image-component": "1.6.0",
"react-router-dom": "6.23.1",
"resize-observer-polyfill": "1.5.1",
Expand Down
2 changes: 1 addition & 1 deletion src/apps/dashboard/routes/activity.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ const Activity = () => {
}
];

const onViewChange = useCallback((_e, newView: ActivityView | null) => {
const onViewChange = useCallback((_e: React.MouseEvent<HTMLElement, MouseEvent>, newView: ActivityView | null) => {
if (newView !== null) {
setActivityView(newView);
}
Expand Down
Loading

0 comments on commit be891c3

Please sign in to comment.