summaryrefslogtreecommitdiff
path: root/internal/client/ui/core/state/state.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/client/ui/core/state/state.go')
-rw-r--r--internal/client/ui/core/state/state.go7
1 files changed, 2 insertions, 5 deletions
diff --git a/internal/client/ui/core/state/state.go b/internal/client/ui/core/state/state.go
index eeba245..e40cdc9 100644
--- a/internal/client/ui/core/state/state.go
+++ b/internal/client/ui/core/state/state.go
@@ -2,13 +2,10 @@ package state
import (
"github.com/kyren223/eko/internal/packet"
- "github.com/kyren223/eko/pkg/snowflake"
)
type state struct {
- Networks map[snowflake.ID]packet.FullNetwork
+ Networks []packet.FullNetwork
}
-var State state = state{
- Networks: make(map[snowflake.ID]packet.FullNetwork),
-}
+var State state = state{}