Avoid starter pack dialog state flicker
This commit is contained in:
@@ -781,8 +781,9 @@ function OverflowMenu({
|
||||
}
|
||||
disabled={isOptOutPending}
|
||||
onPress={() => {
|
||||
optOutDialogControl.close()
|
||||
setReferenceListOptOut({referenceListOptOut})
|
||||
optOutDialogControl.close(() => {
|
||||
setReferenceListOptOut({referenceListOptOut})
|
||||
})
|
||||
}}>
|
||||
<ButtonText>
|
||||
{referenceListOptOut ? (
|
||||
|
||||
Reference in New Issue
Block a user