🚸 (dashboard) Add unpublish menu item in dashboard

Also remove the useless publishedTypebotId field in Typebot

Closes #232
This commit is contained in:
Baptiste Arnaud
2023-01-27 17:11:26 +01:00
parent a842f57297
commit f93bc2fcb2
59 changed files with 212 additions and 90 deletions

View File

@@ -2,7 +2,7 @@ import { PublicTypebot } from 'models'
import { sendRequest } from 'utils'
export const createPublishedTypebotQuery = async (
typebot: PublicTypebot,
typebot: Omit<PublicTypebot, 'id'>,
workspaceId: string
) =>
sendRequest<PublicTypebot>({