g1t/apps/web/app/routes/settings/index.tsx

16 lines429 bytesCodeBlame

Pick any line to see why it is the way it is: the commit, the pull request and issue it came from, and what the agent was thinking.

status.g1t.sh with incident management, invites that land you in the workspace, settings as pages, usage without quotas1import { redirect } from "react-router";
2
3import { FIRST_SETTINGS_PAGE } from "../../lib/account-settings";
4
5/**
6 * `/settings` is the first of its pages. A browser keeps the `#anchor` of
7 * an old link across this redirect, and the settings layout sends it on to
8 * the page that anchor now has.
9 */
10export function loader() {
11 throw redirect(FIRST_SETTINGS_PAGE);
12}
13
14export default function SettingsIndex() {
15 return null;
16}