Fix type errors, don't pass event to fns that don't expect it
This commit is contained in:
@@ -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>
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user