chore: pr feedback
This commit is contained in:
parent
757574c89d
commit
1fa80d373e
1 changed files with 1 additions and 4 deletions
|
|
@ -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}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue