Skip to content

armgit / orca

Public Imported from GitHub
0

Orca is the place for working with a fleet of agents (e.g. Grok Bot, Claude Code). Run any coding agent with your own subscription. Available on desktop, mobile and remote runtime.

512 B
Raw Blame
import { Redirect, useLocalSearchParams } from 'expo-router'
import {
  legacyNotificationOptInDestination,
  type LegacyNotificationOptInParams
} from '../src/onboarding/legacy-notification-opt-in-destination'

export default function NotificationOptInRedirect() {
  const params = useLocalSearchParams<LegacyNotificationOptInParams>()

  // Why: restored stacks may contain this retired route; replacement keeps Back from reopening it.
  return <Redirect href={legacyNotificationOptInDestination(params)} />
}