headplane/app/routes/util/redirect.ts

6 lines
108 B
TypeScript
Raw Normal View History

2024-12-31 10:30:14 +05:30
import { redirect } from 'react-router';
2024-12-08 13:52:02 -05:00
export async function loader() {
2024-12-31 10:30:14 +05:30
return redirect('/machines');
}