2
0

feat(editor): Restore published version button

Had to migrate webhooks into a standalone table
This commit is contained in:
Baptiste Arnaud
2022-03-01 07:13:09 +01:00
parent 0df719d531
commit e17a1a0869
46 changed files with 578 additions and 348 deletions

View File

@ -1,4 +1,4 @@
import { Block, Edge, IdMap, PublicBlock, Source, Step, Target } from 'models'
import { Block, Edge, IdMap, Source, Step, Target } from 'models'
import {
createContext,
Dispatch,
@ -88,7 +88,7 @@ export const GraphProvider = ({
isReadOnly = false,
}: {
children: ReactNode
blocks: (Block | PublicBlock)[]
blocks: Block[]
isReadOnly?: boolean
}) => {
const [graphPosition, setGraphPosition] = useState(graphPositionDefaultValue)