Skip to content

Commit 208919b

Browse files
committed
fix: wrong import of useState
1 parent b4b94a0 commit 208919b

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/GraphArea.jsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
import React, { useEffect, useRef } from 'react';
2-
import { useState } from 'react/cjs/react.development';
1+
import React, { useEffect, useRef, useState } from 'react';
32
import path from 'path';
43
import { edgeValidator, nodeValidator } from './config/defaultValidators';
54
import MyGraph from './graph-builder';

0 commit comments

Comments
 (0)