Update index.tsx

zio/stable
Minseo Lee 2024-03-13 10:41:34 +09:00
parent 3ead08ab26
commit 2938a1397e
1 changed files with 4 additions and 2 deletions

View File

@ -17,7 +17,7 @@ import {
ItemIconProps, ItemIconProps,
} from '#/components/Menu/types' } from '#/components/Menu/types'
import {Button, ButtonText} from '#/components/Button' import {Button, ButtonText} from '#/components/Button'
import {msg} from '@lingui/macro' import {Trans, msg} from '@lingui/macro'
import {useLingui} from '@lingui/react' import {useLingui} from '@lingui/react'
import {isNative} from 'platform/detection' import {isNative} from 'platform/detection'
@ -209,7 +209,9 @@ function Cancel() {
variant="ghost" variant="ghost"
color="secondary" color="secondary"
onPress={() => control.close()}> onPress={() => control.close()}>
<ButtonText>Cancel</ButtonText> <ButtonText>
<Trans>Cancel</Trans>
</ButtonText>
</Button> </Button>
) )
} }