fix(react): uncontrolled flows with Provider
This commit is contained in:
@@ -26,7 +26,6 @@ export function ReactFlowProvider({
|
||||
fitView?: boolean;
|
||||
}) {
|
||||
const storeRef = useRef<UseBoundStoreWithEqualityFn<StoreApi<ReactFlowState>> | null>(null);
|
||||
|
||||
if (!storeRef.current) {
|
||||
storeRef.current = createRFStore({
|
||||
nodes: initialNodes,
|
||||
|
||||
Reference in New Issue
Block a user