Skip to content

Commit

Permalink
fix: unnecesary call to global sync
Browse files Browse the repository at this point in the history
  • Loading branch information
ross96D committed Sep 17, 2024
1 parent d2dc1e2 commit 7325313
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/client/components/navigator.go
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ func (nav *Navigator) Update(msg tea.Msg) tea.Cmd {
switch msg := msg.(type) {
case navigatorPop:
nav.Pop()
return state.GlobalStateSyncCmd
return nil

case navigatorPush:
_, cmd := nav.Push(msg)
Expand Down

0 comments on commit 7325313

Please sign in to comment.