🚸 New dedicated onboarding page
This commit is contained in:
@@ -12,7 +12,6 @@ import {
|
||||
import { useTypebotDnd } from '../TypebotDndProvider'
|
||||
import React, { useState } from 'react'
|
||||
import { BackButton } from './BackButton'
|
||||
import { OnboardingModal } from '../../dashboard/components/OnboardingModal'
|
||||
import { useWorkspace } from '@/features/workspace/WorkspaceProvider'
|
||||
import { useToast } from '@/hooks/useToast'
|
||||
import { useFolders } from '../hooks/useFolders'
|
||||
@@ -26,7 +25,6 @@ import { TypebotCardOverlay } from './TypebotButtonOverlay'
|
||||
import { useI18n } from '@/locales'
|
||||
import { useTypebots } from '@/features/dashboard/hooks/useTypebots'
|
||||
import { TypebotInDashboard } from '@/features/dashboard/types'
|
||||
import { isCloudProdInstance } from '@/helpers/isCloudProdInstance'
|
||||
|
||||
type Props = { folder: DashboardFolder | null }
|
||||
|
||||
@@ -161,9 +159,6 @@ export const FolderContent = ({ folder }: Props) => {
|
||||
|
||||
return (
|
||||
<Flex w="full" flex="1" justify="center">
|
||||
{typebots && isCloudProdInstance && (
|
||||
<OnboardingModal totalTypebots={typebots.length} />
|
||||
)}
|
||||
<Stack w="1000px" spacing={6}>
|
||||
<Skeleton isLoaded={folder?.name !== undefined}>
|
||||
<Heading as="h1">{folder?.name}</Heading>
|
||||
|
||||
Reference in New Issue
Block a user