Reset navigasi

navigation.reset({
  index: 1,
  routes: [
    { name: 'Home' },
    {
      name: 'Profile',
      params: { user: 'jane' },
    },
  ],
})
foloinfo