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 } }), {
loading: "Unlocking repo",
success: "Repository unlocked successfully",
error: (e) =>
toast.error("Failed to unlock repository", {
description: parseError(e)?.message,
}),
error: (e) => parseError(e)?.message || "Failed to unlock repository",
})
}
disabled={unlockRepo.isPending}