2
0

fix(analytics): 🐛 Analytics board

This commit is contained in:
Baptiste Arnaud
2022-02-11 18:06:59 +01:00
parent 93fed893c0
commit 7c164e25d7
13 changed files with 179 additions and 108 deletions

View File

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