mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-04-21 00:01:22 +02:00
Run oxfmt across repo, add format script and docs
Add .oxfmtignore to skip generated bindings and wasm-pack output. Add npm format script, update DEVELOPMENT.md for Vite+ toolchain, and format all non-generated files with oxfmt. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -1,17 +1,17 @@
|
||||
import { createFileRoute, Navigate, useParams } from '@tanstack/react-router';
|
||||
import { createFileRoute, Navigate, useParams } from "@tanstack/react-router";
|
||||
|
||||
// -----------------------------------------------------------------------------------
|
||||
// IMPORTANT: This is a deprecated route. Since the active request is optional, it was
|
||||
// moved from a path param to a query parameter. This route does a redirect to the
|
||||
// parent, while preserving the active request.
|
||||
|
||||
export const Route = createFileRoute('/workspaces/$workspaceId/requests/$requestId')({
|
||||
export const Route = createFileRoute("/workspaces/$workspaceId/requests/$requestId")({
|
||||
component: RouteComponent,
|
||||
});
|
||||
|
||||
function RouteComponent() {
|
||||
const { workspaceId, requestId } = useParams({
|
||||
from: '/workspaces/$workspaceId/requests/$requestId',
|
||||
from: "/workspaces/$workspaceId/requests/$requestId",
|
||||
});
|
||||
return (
|
||||
<Navigate
|
||||
|
||||
Reference in New Issue
Block a user