revert documentation back to original state

Signed-off-by: Kurt King <kurtaking@gmail.com>
Signed-off-by: Kurt King <kurt.king@procore.com>
This commit is contained in:
Kurt King
2022-11-29 07:41:59 -06:00
committed by Kurt King
parent 6ebc7c8719
commit d1b2ec16f4
-3
View File
@@ -51,9 +51,6 @@ import { FeatureFlagged } from '@backstage/core-app-api'
<PreviousFeatureComponent />
</FeatureFlagged>
```
If you use a `<FeatureFlagged>` component, you do not need to pass `featureFlags: [{ name: 'show-example-feature' }],` into the `createPlugin()` like done at the top of this page. Doing so will cause duplicate entries to appear under `Settings` > `Feature Flags`.
## Evaluating Feature Flag State
It is also possible to test the feature flag state using the [FeatureFlags Api](https://backstage.io/docs/reference/core-plugin-api.featureflagsapi).