feat(editor): ✨ Restore published version button
Had to migrate webhooks into a standalone table
This commit is contained in:
@ -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)
|
||||
|
Reference in New Issue
Block a user