Skip to content

Commit

Permalink
fix: forgot one last type check
Browse files Browse the repository at this point in the history
  • Loading branch information
carere committed Jan 24, 2025
1 parent 4db885a commit f5e78a8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export async function loader({ request, params }: LoaderFunctionArgs) {
const { scenarioId } = params;
if (!scenarioId) {
return {
redirect: getRoute('/scenarios/'),
redirect: getRoute('/scenarios'),
};
}

Expand Down

0 comments on commit f5e78a8

Please sign in to comment.