fix: correct message on preview deployments disabling

This commit is contained in:
vytenisstaugaitis 2025-04-09 18:47:34 +03:00
parent ee6ad07c0a
commit 7a5a3de43d

View File

@ -298,7 +298,7 @@ export const ShowPreviewSettings = ({ applicationId }: Props) => {
})
.then(() => {
refetch();
toast.success("Preview deployments enabled");
toast.success(checked ? "Preview deployments enabled" : "Preview deployments disabled");
})
.catch((error) => {
toast.error(error.message);