🔥 Remove disable response saving option

Doesn't work properly when it comes to keep tracking storage usage
This commit is contained in:
Baptiste Arnaud
2023-03-07 14:41:57 +01:00
parent 0c19ea20f8
commit b77e2c8d2c
26 changed files with 194 additions and 182 deletions

View File

@@ -54,7 +54,7 @@ export const Graph = ({
} = useGraph()
const { updateGroupCoordinates } = useGroupsCoordinates()
const [graphPosition, setGraphPosition] = useState(
graphPositionDefaultValue(typebot.groups[0].graphCoordinates)
graphPositionDefaultValue(typebot.groups[0]?.graphCoordinates)
)
const [debouncedGraphPosition] = useDebounce(graphPosition, 200)
const transform = useMemo(

View File

@@ -40,7 +40,7 @@ export const ItemNodesList = ({
const isLastBlock =
isDefined(typebot) &&
typebot.groups[groupIndex].blocks[blockIndex + 1] === undefined
typebot.groups[groupIndex]?.blocks?.[blockIndex + 1] === undefined
const [position, setPosition] = useState({
x: 0,