mirror of
https://github.com/luckfox-eng29/kvm.git
synced 2026-01-20 10:14:18 +01:00
* Upgrade ESLINT and fix issues * feat: add frontend linting job to GitHub Actions workflow * Move UI linting to separate file * More linting fixes * Remove pull_request trigger from UI linting workflow * Update UI linting workflow * Rename frontend-lint workflow to ui-lint for clarity
8 lines
255 B
TypeScript
8 lines
255 B
TypeScript
import { LoaderFunctionArgs, redirect } from "react-router-dom";
|
|
|
|
import { getDeviceUiPath } from "../hooks/useAppNavigation";
|
|
|
|
export function loader({ params }: LoaderFunctionArgs) {
|
|
return redirect(getDeviceUiPath("/settings/general", params.id));
|
|
}
|