2
0

Add usage-based new pricing plans

This commit is contained in:
Baptiste Arnaud
2022-09-17 16:37:33 +02:00
committed by Baptiste Arnaud
parent 6a1eaea700
commit 898367a33b
144 changed files with 4631 additions and 1624 deletions

View File

@ -15,7 +15,6 @@ const resultsContext = createContext<{
hasMore: boolean
resultHeader: ResultHeaderCell[]
totalResults: number
totalHiddenResults?: number
tableData: TableData[]
onDeleteResults: (totalResultsDeleted: number) => void
fetchMore: () => void
@ -33,14 +32,12 @@ export const ResultsProvider = ({
workspaceId,
typebotId,
totalResults,
totalHiddenResults,
onDeleteResults,
}: {
children: ReactNode
workspaceId: string
typebotId: string
totalResults: number
totalHiddenResults?: number
onDeleteResults: (totalResultsDeleted: number) => void
}) => {
const { publishedTypebot, linkedTypebots } = useTypebot()
@ -84,7 +81,6 @@ export const ResultsProvider = ({
tableData,
resultHeader,
totalResults,
totalHiddenResults,
onDeleteResults,
fetchMore,
mutate,