Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: fixed all deprecation warnings #1796

Closed
wants to merge 1 commit into from

Conversation

zackabrah
Copy link

Resolved all react deprecation warnings.

@wdh2100
Copy link
Collaborator

wdh2100 commented Oct 25, 2021

duplicate #1748

@dan05011991
Copy link

One remaining deprecated warning, see findDOMNode

index.js:1 Warning: findDOMNode is deprecated in StrictMode. findDOMNode was passed an instance of Transition which is inside StrictMode. Instead, add a ref directly to the element you want to reference. Learn more about using refs safely here: https://fb.me/react-strict-mode-find-node in div (created by Transition) in Transition (created by ForwardRef(Fade)) in ForwardRef(Fade) (created by ForwardRef(Backdrop)) in ForwardRef(Backdrop) (created by WithStyles(ForwardRef(Backdrop))) in WithStyles(ForwardRef(Backdrop)) (created by ForwardRef(Modal)) in div (created by ForwardRef(Modal)) in ForwardRef(Portal) (created by ForwardRef(Modal)) in ForwardRef(Modal) (created by ForwardRef(Dialog)) in ForwardRef(Dialog) (created by WithStyles(ForwardRef(Dialog))) in WithStyles(ForwardRef(Dialog)) (at YesNoModal.tsx:49) in YesNoModal (at DistributionList.tsx:110) in div (at DistributionList.tsx:109) in DistributionList (at AppRouting.tsx:43) in div (at AppRouting.tsx:103) in Route (at AppRouting.tsx:102) in Switch (at AppRouting.tsx:90) in AppRouting (at App.tsx:69) in ErrorBoundary (at App.tsx:66) in App (at src/index.tsx:29) in GridFiltersProvider (at src/index.tsx:28) in RolesProvider (at src/index.tsx:27) in SettingsProvider (at src/index.tsx:26) in AppConfigProvider (at src/index.tsx:25) in AppErrorsProvider (at src/index.tsx:24) in ThemeProvider (at src/index.tsx:23) in Router (created by BrowserRouter) in BrowserRouter (at src/index.tsx:22) in QueryClientProvider (at src/index.tsx:21) in StrictMode (at src/index.tsx:20)

@zackabrah zackabrah closed this Oct 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants