chore: pr feedback

This commit is contained in:
Nicolas Meienberger 2026-04-02 21:32:44 +02:00
parent 34892060fe
commit d803c3282e

View file

@ -206,10 +206,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}