Update NotFound.tsx

zio/stable
Minseo Lee 2024-02-24 18:25:29 +09:00
parent 25d7e2449f
commit 7a920d2eb4
1 changed files with 2 additions and 0 deletions

View File

@ -52,6 +52,8 @@ export const NotFoundScreen = () => {
<Button <Button
type="primary" type="primary"
label={canGoBack ? _(msg`Go back`) : _(msg`Go home`)} 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`)}
onPress={onPressHome} onPress={onPressHome}
/> />
</View> </View>