UI: Dismiss error flash on DUP when changing URL (#23671)

## #23669 


![ezgif-4-55897686f6](https://github.com/user-attachments/assets/20232177-d919-4a67-bfe9-d4c20c375dd3)


- [x] Changes file added for user-visible changes in `changes/`
- [x] Manual QA for all new/changed functionality

---------

Co-authored-by: Jacob Shandling <jacob@fleetdm.com>
This commit is contained in:
jacobshandling 2024-11-11 10:14:49 -08:00 committed by GitHub
parent 1db781f603
commit 8fe73d7efe
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 0 deletions

View file

@ -0,0 +1 @@
* Dismiss error flash on the my device page when navigating to another URL.

View file

@ -485,6 +485,7 @@ const DeviceUserPage = ({
fullWidth
notification={notification}
onRemoveFlash={hideFlash}
pathname={location.pathname}
/>
<nav className="site-nav-container">
<div className="site-nav-content">