Commit 4050b1b2 authored by lynn's avatar lynn Committed by GitHub

fix: dismiss tax service toast after 1 dismissal instead of 3 (#6200)

* init

* add todo
parent a19aa303
......@@ -110,7 +110,9 @@ export const StyledXButton = styled(X)`
const TAX_SERVICE_DISMISSED = 'TaxServiceToast-dismissed'
const MAX_RENDER_COUNT = 3
// TODO(lynnshaoyu): remove this count and change taxServiceDismissals in UserState to be a boolean
// flag instead after upgrading to redux-persist.
const MAX_RENDER_COUNT = 1
export default function TaxServiceBanner() {
const isDarkMode = useIsDarkMode()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment