Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 | import MyApp from "@/components/app/MyApp";
import { LEGAL_APP } from "@/routes/apps/Legal";
import { APP_PREFIXES, APP_ROUTES } from "@/routes/const";
import React from "react";
/**
* The policy pages, served in-app at `/legal/*`.
*
* `AppRouter` used to point this path at `DeveloperApp`, so every legal link
* rendered the Developer section instead — `routes/apps/Legal.tsx` had been
* copied from `Developer.tsx` and still exported its config under the name
* `DEVELOPER_APP`, so nothing ever imported the legal one.
*/
const LegalApp: React.FC = () => {
return (
<MyApp
homeName="LEGAL"
config={LEGAL_APP}
prefix={APP_PREFIXES.LEGAL}
returnAddr={APP_ROUTES.USER.overview}
/>
);
};
export default LegalApp;
|