Update NotFound.tsx

zio/stable
Minseo Lee 2024-02-24 18:29:12 +09:00
parent 5809dd0624
commit 860b5307ad
1 changed files with 5 additions and 1 deletions

View File

@ -53,7 +53,11 @@ export const NotFoundScreen = () => {
type="primary"
label={canGoBack ? _(msg`Go Back`) : _(msg`Go Home`)}
accessibilityLabel={canGoBack ? _(msg`Go back`) : _(msg`Go home`)}
accessibilityHint={canGoBack ? _(msg`Returns to previous page`) : _(msg`Returns to home page`)}
accessibilityHint={
canGoBack
? _(msg`Returns to previous page`)
: _(msg`Returns to home page`)
}
onPress={onPressHome}
/>
</View>