chore: pr feedback

This commit is contained in:
Nicolas Meienberger 2026-04-02 21:31:52 +02:00 committed by Nico
parent 757574c89d
commit 1fa80d373e

View file

@ -155,10 +155,7 @@ export const RepositoryInfoTabContent = ({ repository, initialStats }: Props) =>
toast.promise(unlockRepo.mutateAsync({ path: { shortId: repository.shortId } }), { toast.promise(unlockRepo.mutateAsync({ path: { shortId: repository.shortId } }), {
loading: "Unlocking repo", loading: "Unlocking repo",
success: "Repository unlocked successfully", success: "Repository unlocked successfully",
error: (e) => error: (e) => parseError(e)?.message || "Failed to unlock repository",
toast.error("Failed to unlock repository", {
description: parseError(e)?.message,
}),
}) })
} }
disabled={unlockRepo.isPending} disabled={unlockRepo.isPending}