You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Recharts currently throws the following warning due to a future release that will remove defaultProps.
Warning: XAxis: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead.
We should update the components that use recharts to not use defaultProps. You can find these warnings on any of the pages that recharts graphs are used. For example, in AdminDashboard.tsx and StudentDashboard.tsx.
The text was updated successfully, but these errors were encountered:
It looks like bumping the version of recharts up to 2.13 resolves these warnings. The fix here is to verify we can bump our version in our codebase and make sure that it doesn't break anything else in the process.
Recharts currently throws the following warning due to a future release that will remove defaultProps.
Warning: XAxis: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead.
We should update the components that use recharts to not use defaultProps. You can find these warnings on any of the pages that recharts graphs are used. For example, in
AdminDashboard.tsx
andStudentDashboard.tsx
.The text was updated successfully, but these errors were encountered: