diff --git a/apps/dokploy/components/dashboard/database/backups/show-backups.tsx b/apps/dokploy/components/dashboard/database/backups/show-backups.tsx index 616745e1..b4606583 100644 --- a/apps/dokploy/components/dashboard/database/backups/show-backups.tsx +++ b/apps/dokploy/components/dashboard/database/backups/show-backups.tsx @@ -20,12 +20,14 @@ import { toast } from "sonner"; import type { ServiceType } from "../../application/advanced/show-resources"; import { AddBackup } from "./add-backup"; import { UpdateBackup } from "./update-backup"; +import { useState } from "react"; interface Props { id: string; type: Exclude; } export const ShowBackups = ({ id, type }: Props) => { + const [activeManualBackup, setActiveManualBackup] = useState(); const queryMap = { postgres: () => api.postgres.one.useQuery({ postgresId: id }, { enabled: !!id }), @@ -151,8 +153,9 @@ export const ShowBackups = ({ id, type }: Props) => {