12 lines
513 B
TypeScript
12 lines
513 B
TypeScript
import { Link } from 'react-router-dom';
|
|
|
|
/** Retain old URLs without advertising unfinished workflows in navigation. */
|
|
export function UnavailablePage({ name }: { name: string }) {
|
|
return (
|
|
<section className="p-4 space-y-3">
|
|
<h1 className="font-semibold">{name} is not available</h1>
|
|
<p>Inspect saved performance, trades and risk metrics in backtests and experiments.</p>
|
|
<Link to="/backtests">Open backtests</Link> <Link to="/experiments">Open experiments</Link>
|
|
</section>
|
|
);
|
|
}
|