Skill update round trip / roundtrip (false, macos-latest, copy, 1.5.17) (push) Canceled after 0s
Skill update round trip / roundtrip (false, macos-latest, symlink, 1.5.17) (push) Canceled after 0s
Skill update round trip / roundtrip (false, ubuntu-latest, copy, 1.5.17) (push) Canceled after 0s
Skill update round trip / roundtrip (false, ubuntu-latest, symlink, 1.5.17) (push) Canceled after 0s
Skill update round trip / roundtrip (false, ubuntu-latest, symlink, latest) (push) Canceled after 0s
Skill update round trip / roundtrip (false, windows-latest, copy, 1.5.17) (push) Canceled after 0s
Skill update round trip / roundtrip (false, windows-latest, symlink, 1.5.17) (push) Canceled after 0s
Skill update round trip / roundtrip (true, macos-latest, copy, 1.5.17) (push) Canceled after 0s
Skill update round trip / roundtrip (true, macos-latest, symlink, 1.5.17) (push) Canceled after 0s
Skill update round trip / roundtrip (true, ubuntu-latest, copy, 1.5.17) (push) Canceled after 0s
Skill update round trip / roundtrip (true, ubuntu-latest, symlink, 1.5.17) (push) Canceled after 0s
Skill update round trip / roundtrip (true, windows-latest, copy, 1.5.17) (push) Canceled after 0s
Skill update round trip / roundtrip (true, windows-latest, symlink, 1.5.17) (push) Canceled after 0s
13 lines
512 B
TypeScript
13 lines
512 B
TypeScript
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)} />
|
|
}
|