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 quotas | 1 | import { redirect } from "react-router"; |
| 2 | ||
| 3 | import { 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 | */ | |
| 10 | export function loader() { | |
| 11 | throw redirect(FIRST_SETTINGS_PAGE); | |
| 12 | } | |
| 13 | ||
| 14 | export default function SettingsIndex() { | |
| 15 | return null; | |
| 16 | } |