From 0aa83227da57ae67ad9d06f1032cebaaff4e8dfa Mon Sep 17 00:00:00 2001 From: Kyren223 Date: Wed, 27 Nov 2024 17:44:38 +0200 Subject: Fixed color issue on the server, made the UI have better UX --- internal/client/ui/core/networkcreation/networkcreation.go | 3 --- 1 file changed, 3 deletions(-) (limited to 'internal/client/ui/core/networkcreation') diff --git a/internal/client/ui/core/networkcreation/networkcreation.go b/internal/client/ui/core/networkcreation/networkcreation.go index 081c1ce..b7f76d4 100644 --- a/internal/client/ui/core/networkcreation/networkcreation.go +++ b/internal/client/ui/core/networkcreation/networkcreation.go @@ -95,9 +95,6 @@ func New() Model { if strings.TrimSpace(s) == "" { return errors.New("cannot be empty") } - if strings.TrimSpace(s) != s { - return errors.New("no leading/trailing spaces") - } return nil } -- cgit v1.3.1