🦴 Add theme page backbone
This commit is contained in:
@ -2,7 +2,6 @@ import { Flex } from '@chakra-ui/react'
|
||||
import React from 'react'
|
||||
import Graph from './graph/Graph'
|
||||
import { DndContext } from 'contexts/DndContext'
|
||||
import { headerHeight } from 'components/shared/TypebotHeader/TypebotHeader'
|
||||
import { StepTypesList } from './StepTypesList'
|
||||
import { PreviewDrawer } from './preview/PreviewDrawer'
|
||||
import { RightPanel, useEditor } from 'contexts/EditorContext'
|
||||
@ -10,13 +9,7 @@ import { RightPanel, useEditor } from 'contexts/EditorContext'
|
||||
export const Board = () => {
|
||||
const { rightPanel } = useEditor()
|
||||
return (
|
||||
<Flex
|
||||
flex="1"
|
||||
pos="relative"
|
||||
bgColor="gray.50"
|
||||
h={`calc(100vh - ${headerHeight}px)`}
|
||||
marginTop={`${headerHeight}px`}
|
||||
>
|
||||
<Flex flex="1" pos="relative" bgColor="gray.50" h="full">
|
||||
<DndContext>
|
||||
<StepTypesList />
|
||||
<Graph />
|
||||
|
Reference in New Issue
Block a user