Skip to content

Commit

Permalink
hotfix: edgetype default
Browse files Browse the repository at this point in the history
  • Loading branch information
radityaharya committed Apr 30, 2024
1 parent be58d42 commit 3730847
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/app/states/store.ts
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,6 @@ const useStore = create<RFState>((set, get) => ({
addEdge(data) {
const id = `${data.source}->${data.target}`;
const edge = { id, ...data };
edge.type = "smoothstep";
set({ edges: [edge, ...get().edges] });
},
updateNode: (node: Node) => {
Expand Down

0 comments on commit 3730847

Please sign in to comment.