diff --git a/changes/23669-dismiss-error-flash-on-url-change-dup b/changes/23669-dismiss-error-flash-on-url-change-dup new file mode 100644 index 0000000000..125774f81f --- /dev/null +++ b/changes/23669-dismiss-error-flash-on-url-change-dup @@ -0,0 +1 @@ +* Dismiss error flash on the my device page when navigating to another URL. \ No newline at end of file diff --git a/frontend/pages/hosts/details/DeviceUserPage/DeviceUserPage.tsx b/frontend/pages/hosts/details/DeviceUserPage/DeviceUserPage.tsx index 53db103db7..467b40d4cb 100644 --- a/frontend/pages/hosts/details/DeviceUserPage/DeviceUserPage.tsx +++ b/frontend/pages/hosts/details/DeviceUserPage/DeviceUserPage.tsx @@ -485,6 +485,7 @@ const DeviceUserPage = ({ fullWidth notification={notification} onRemoveFlash={hideFlash} + pathname={location.pathname} />