Skip to content

Commit

Permalink
Ignore deprecated ReactDOM method in toastCreateAsyncExample
Browse files Browse the repository at this point in the history
  • Loading branch information
ggdouglas committed Jan 17, 2025
1 parent 14db1ce commit c56e0ca
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,8 @@ function unmountReact16Toaster(containerElement: HTMLElement) {
if (toasterRenderRoot == null) {
throw new Error("No elements were found under Toaster container.");
}
// TODO(React 18): Replace deprecated ReactDOM methods. See: https://github.com/palantir/blueprint/issues/7166
// eslint-disable-next-line deprecation/deprecation
ReactDOM.unmountComponentAtNode(toasterRenderRoot);
}

Expand Down

0 comments on commit c56e0ca

Please sign in to comment.