Skip to content

Commit

Permalink
fix type
Browse files Browse the repository at this point in the history
  • Loading branch information
sorax committed Mar 16, 2024
1 parent dae188c commit bfa50f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assets/js/hooks/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ export const Hooks = {
prev_id: node.uuid
}

this.pushEvent("create_node", newNode, (node: Node, _ref: Number) => {
this.pushEvent("create_node", newNode, (node: Node, _ref: number) => {
const newItem = createItem(node)
item.after(newItem)
focusItem(newItem, false)
Expand Down

0 comments on commit bfa50f8

Please sign in to comment.