Ghost/apps
Ronald Langeveld 71a8df9f52
Fixed toasts not disappearing after settings reload (#18535)
refs
https://www.notion.so/ghost/AdminX-feedback-27fc7f549bbf4a53bfa2e7b6e5643963?p=d8bb2da9a6534494ad5baf840bbfd785&pm=s

- The error state remains visible after navigating away from settings
- this fix resets the toast on initial load to ensure it doesn't persist
if not needed
---

<!-- Leave the line below if you'd like GitHub Copilot to generate a
summary from your commit -->
<!--
copilot:summary
-->
### <samp>🤖 Generated by Copilot at 5c91fe7</samp>

Improved notifications on settings page using `toast` function. Cleared
old notifications on initial load to avoid confusion.
2023-10-09 15:12:33 +07:00
..
admin-x-settings Fixed toasts not disappearing after settings reload (#18535) 2023-10-09 15:12:33 +07:00
announcement-bar Update dependency vite to v4.4.11 2023-10-06 07:55:29 +02:00
comments-ui Update dependency vite to v4.4.11 2023-10-06 07:55:29 +02:00
portal Reverted "Update sentry-javascript monorepo to v7.73.0" 2023-10-06 13:46:17 +02:00
signup-form Update dependency vite to v4.4.11 2023-10-06 07:55:29 +02:00
sodo-search Update dependency vite to v4.4.11 2023-10-06 07:55:29 +02:00