Fix type errors, don't pass event to fns that don't expect it

This commit is contained in:
Eric Bailey
2024-06-13 16:57:48 -05:00
parent 980e3afef1
commit b25af44850
3 changed files with 3 additions and 3 deletions
@@ -333,7 +333,7 @@ function CantSubscribePrompt({
</Trans>
</Prompt.DescriptionText>
<Prompt.Actions>
<Prompt.Action onPress={control.close} cta={_(msg`OK`)} />
<Prompt.Action onPress={() => control.close()} cta={_(msg`OK`)} />
</Prompt.Actions>
</Prompt.Outer>
)