Skip to content

Commit

Permalink
fix: you saw nothing
Browse files Browse the repository at this point in the history
  • Loading branch information
Gobot1234 committed May 8, 2024
1 parent 5694d02 commit 4725097
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions apps/forge/src/routes/training/locations/george-porter.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
import TrainingLocation from "@/components/training/TrainingLocation";
import { createFileRoute, Link } from "@tanstack/react-router";
import { createFileRoute, redirect } from "@tanstack/react-router";

const GeorgePorter = () => (
<Link to="https://training.iforge.shef.ac.uk/subject-areas/george-porter-cca-rep/online" />
// <TrainingLocation location={"GEORGE_PORTER"} optionalTrainingText={"carbon fibre layup station"} />
<TrainingLocation location={"GEORGE_PORTER"} optionalTrainingText={"carbon fibre layup station"} />
);

export const Route = createFileRoute("/training/locations/george-porter")({
beforeLoad: () => {
return redirect({to: "https://training.iforge.shef.ac.uk/subject-areas/george-porter-cca-rep/online"})
},
component: GeorgePorter,
});

0 comments on commit 4725097

Please sign in to comment.