๐Ÿ“ฆ hyoban / follow-app

๐Ÿ“„ +not-found.tsx ยท 20 lines
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20import { Link, Stack } from 'expo-router'
import { View } from 'react-native'

export default function NotFoundScreen() {
  return (
    <View
      style={{
        flex: 1,
        justifyContent: 'center',
        alignItems: 'center',
      }}
    >
      <Stack>
        <Stack.Screen name="not-found" options={{ title: 'Not Found' }} />
      </Stack>
      <Link href="/">Go back home</Link>
    </View>
  )
}