zerobyte/app/client/modules/repositories/routes/restore-snapshot.tsx
Nico 611640b32b
fix: split display path and query base path (#714)
* fix: split display path and query base path

#709

* test(frontend): shared render utils

* fix(file-tree): add missing path segments

* chore: bump Bun version

* fix: select kind for synthetic folders
2026-03-29 12:30:35 +02:00

24 lines
584 B
TypeScript

import { RestoreForm } from "~/client/components/restore-form";
import type { Repository } from "~/client/lib/types";
type Props = {
repository: Repository;
snapshotId: string;
returnPath: string;
queryBasePath?: string;
displayBasePath?: string;
};
export function RestoreSnapshotPage(props: Props) {
const { returnPath, snapshotId, repository, queryBasePath, displayBasePath } = props;
return (
<RestoreForm
repository={repository}
snapshotId={snapshotId}
returnPath={returnPath}
queryBasePath={queryBasePath}
displayBasePath={displayBasePath}
/>
);
}