[plugins/welcome/WelcomePage] add featureFlags via useApi

This commit is contained in:
Bilawal Hameed
2020-03-26 15:39:19 +01:00
parent c86387ea09
commit 7ba4f4ca2d
2 changed files with 11 additions and 1 deletions
@@ -33,10 +33,13 @@ import {
pageTheme,
ContentHeader,
SupportButton,
featureFlagsApiRef,
useApi,
} from '@backstage/core';
import ErrorButton from './ErrorButton';
const WelcomePage: FC<{}> = () => {
const featureFlagsApi = useApi(featureFlagsApiRef);
const profile = { givenName: '' };
return (