Merge pull request #6096 from backstage/timbonicus/quickstart-example

This commit is contained in:
Himanshu Mishra
2021-06-21 22:20:16 +02:00
committed by GitHub
@@ -16,9 +16,9 @@ import {
identityApiRef,
useApi,
} from '@backstage/core';
import ExampleFetchComponent from '../ExampleFetchComponent';
import { ExampleFetchComponent } from '../ExampleFetchComponent';
const ExampleComponent = () => {
export const ExampleComponent = () => {
const identityApi = useApi(identityApiRef);
const userId = identityApi.getUserId();
const profile = identityApi.getProfile();
@@ -52,6 +52,4 @@ const ExampleComponent = () => {
</Page>
);
};
export default ExampleComponent;
```