Skip to content

Commit

Permalink
app: preliminary type onConnect params as any to build the app
Browse files Browse the repository at this point in the history
  • Loading branch information
orangecms committed Oct 27, 2023
1 parent b162a79 commit 93355ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export default function Home() {
const [edges, setEdges, onEdgesChange] = useEdgesState(iEdges);

const onConnect = useCallback(
(params) => setEdges((eds) => addEdge(params, eds)),
(params: any) => setEdges((eds) => addEdge(params, eds)),
[setEdges]
);

Expand Down

0 comments on commit 93355ef

Please sign in to comment.