diff --git a/src/Home.tsx b/src/Home.tsx
index ac03c1a..49aec51 100644
--- a/src/Home.tsx
+++ b/src/Home.tsx
@@ -7,7 +7,7 @@ import cbLogo from './assets/CB-stacked-logo-full-color.svg'
export const Home = () => {
const featureFlags = useFeatureFlags()
- const showMessage = useFeatureFlag(namespaceFlags.default.showMessage)
+ const showMessage = true
if (featureFlags.loading) {
return (
@@ -20,16 +20,14 @@ export const Home = () => {
<>
CloudBees feature management React sample application
- {showMessage && (
-
- {featureFlags.default.message.getValue()}
-
- )}
+ {
+ {featureFlags.default.message.getValue()}
+
}
@@ -43,4 +41,4 @@ export const Home = () => {
>
)
-}
+}
\ No newline at end of file
diff --git a/src/feature-management/flags.ts b/src/feature-management/flags.ts
index ab22d9d..820d52c 100644
--- a/src/feature-management/flags.ts
+++ b/src/feature-management/flags.ts
@@ -15,8 +15,6 @@ export const namespaceFlags = {
about: new Flag(false),
},
default: {
- // Boolean - should the message be shown?
- showMessage: new Flag(),
// String - the message to show.
message: new RoxString(
'This is the default message; try changing some flag values!'
@@ -26,4 +24,4 @@ export const namespaceFlags = {
// Number (with options) - the size of the message text.
fontSize: new RoxNumber(24, [12, 16, 24]),
},
-}
+}
\ No newline at end of file