From efa2117ded66ab2210c6d7188f2b887a299a1ba1 Mon Sep 17 00:00:00 2001 From: Simon Hornby Date: Wed, 3 Jan 2024 22:23:25 +0100 Subject: [PATCH] chore: update default version in UI (#4761) We get a flash of the Unleash scaffold when we first load the page. For a brief moment, we display version 3 and then overwrite it with the correct version. Looks kinda silly, we know we're in version 5.x so let's just do that --- frontend/src/hooks/api/getters/useUiConfig/defaultValue.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/hooks/api/getters/useUiConfig/defaultValue.ts b/frontend/src/hooks/api/getters/useUiConfig/defaultValue.ts index 066014d03b..5afa321112 100644 --- a/frontend/src/hooks/api/getters/useUiConfig/defaultValue.ts +++ b/frontend/src/hooks/api/getters/useUiConfig/defaultValue.ts @@ -3,7 +3,7 @@ import { IUiConfig } from 'interfaces/uiConfig'; export const defaultValue: IUiConfig = { name: 'Unleash', - version: '3.x', + version: '5.x', slogan: 'The enterprise ready feature toggle service.', flags: { P: false,