moved useLocation call from the NotificationProvider component into the useNotify hook. This circumvents the issue where react router no longer accepts usage of useLocation outside of the Router context.
QA
I checked this by copying the change over to the lxd-ui repo, then QA'd there.
Done
useLocation
call from theNotificationProvider
component into theuseNotify
hook. This circumvents the issue where react router no longer accepts usage ofuseLocation
outside of the Router context.QA