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