Skip to content

Commit

Permalink
fixes unused variable
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgerojas26 committed Aug 3, 2024
1 parent 47641fc commit f4cf9e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/Tree.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ func NewTree(dbName string, dbdriver drivers.Driver) *Tree {
})

tree.SetChangedFunc(func(node *tview.TreeNode) {
rootNode.Walk(func(n, parent *tview.TreeNode) bool {
rootNode.Walk(func(n, _ *tview.TreeNode) bool {
nodeText := n.GetText()

splittedNodeText := strings.Split(nodeText, "]")
Expand Down

0 comments on commit f4cf9e6

Please sign in to comment.