Merge pull request #591 from spotify/bih-patch-1
fix(feature-flags): corrected docs to instantiate FeatureFlags
This commit is contained in:
@@ -35,7 +35,7 @@ import {
|
||||
} from '@backstage/core';
|
||||
|
||||
const builder = ApiRegistry.builder();
|
||||
builder.add(featureFlagsApiRef, FeatureFlags);
|
||||
builder.add(featureFlagsApiRef, new FeatureFlags());
|
||||
|
||||
export default builder.build() as ApiHolder;
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user