zerobyte/app/client/modules/repositories/routes/restore-snapshot.tsx
Nico 8fcd446926
refactor: snapshot strip out base path (#542)
* refactor: strip out volume path in snapshot list / restore

chore: lint issue

* test: backups new include patterns
2026-02-18 21:45:19 +01:00

15 lines
462 B
TypeScript

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