Moved later/gitgram-ai/gitgram/ to apps/ritgram/ (fresh history; full history stays in caelum0x/gitgram). AITimeMachine stays separate in later/gitgram-ai per the Rithub master plan. Logs, pid files and env files are ignored; GPL-3.0 mobile/proximity noted in THIRD_PARTY_NOTICES. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
14 lines
555 B
TypeScript
14 lines
555 B
TypeScript
import React from 'react';
|
|
import { Redirect, useLocalSearchParams } from 'expo-router';
|
|
|
|
/**
|
|
* /user/[userId] is an alias for the canonical public profile screen at
|
|
* /profile/[userId]. Keeping the alias means deep links and follow-request
|
|
* navigation that use the /user/* namespace resolve to a real screen instead of
|
|
* dead-ending, while the profile UI lives in one place.
|
|
*/
|
|
export default function UserProfileAlias() {
|
|
const { userId } = useLocalSearchParams<{ userId: string }>();
|
|
return <Redirect href={`/profile/${userId}` as any} />;
|
|
}
|