diff --git a/apps/web/src/app/(private)/projects/[projectId]/versions/[commitUuid]/_components/Sidebar/PublishDraftCommitModal/index.tsx b/apps/web/src/app/(private)/projects/[projectId]/versions/[commitUuid]/_components/Sidebar/PublishDraftCommitModal/index.tsx index 52f3cae67..6e784ca25 100644 --- a/apps/web/src/app/(private)/projects/[projectId]/versions/[commitUuid]/_components/Sidebar/PublishDraftCommitModal/index.tsx +++ b/apps/web/src/app/(private)/projects/[projectId]/versions/[commitUuid]/_components/Sidebar/PublishDraftCommitModal/index.tsx @@ -241,6 +241,12 @@ export default function PublishDraftCommitModal({ const { data, publishDraft, isPublishing } = useCommits({ onSuccessPublish: () => { router.push(ROUTES.projects.detail({ id: project.id }).commits.latest) + + toast({ + title: 'Success', + description: 'Project published successfully.', + }) + onClose(null) }, })