mirror of https://github.com/jetkvm/kvm.git
13 lines
353 B
TypeScript
13 lines
353 B
TypeScript
import { LoaderFunctionArgs, redirect } from "react-router-dom";
|
|
|
|
import { getDeviceUiPath } from "../hooks/useAppNavigation";
|
|
|
|
const loader = ({ params }: LoaderFunctionArgs) => {
|
|
return redirect(getDeviceUiPath("/settings/general", params.id));
|
|
}
|
|
|
|
export default function SettingIndexRoute() {
|
|
return (<></>);
|
|
}
|
|
|
|
SettingIndexRoute.loader = loader; |