Skip to content

Commit

Permalink
Remove redundant code
Browse files Browse the repository at this point in the history
  • Loading branch information
leaanthony committed Jan 15, 2025
1 parent 480febc commit 6713061
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions v3/examples/contextmenus/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,6 @@ func main() {
contextMenu.Update()
})

globalContextMenu := app.NewMenu()
globalContextMenu.Add("Default context menu item").OnClick(func(data *application.Context) {
app.Logger.Info("Context menu", "context data", data.ContextMenuData())
})

err := app.Run()

if err != nil {
Expand Down

0 comments on commit 6713061

Please sign in to comment.