fix: update app to use new Radar API

This commit is contained in:
Bilawal Hameed
2020-05-02 14:45:49 +02:00
parent 27aa58470a
commit 8c1fd6e7d1
+9 -6
View File
@@ -30,11 +30,7 @@ import {
LighthouseRestApi,
} from '@backstage/plugin-lighthouse';
import {
techRadarApiRef,
TechRadar,
loadSampleData,
} from '@backstage/plugin-tech-radar';
import { techRadarApiRef, TechRadar } from '@backstage/plugin-tech-radar';
const builder = ApiRegistry.builder();
@@ -47,6 +43,13 @@ builder.add(errorApiRef, errorApiForwarder);
builder.add(featureFlagsApiRef, new FeatureFlags());
builder.add(lighthouseApiRef, new LighthouseRestApi('http://localhost:3003'));
builder.add(techRadarApiRef, new TechRadar(1800, 800, loadSampleData));
builder.add(
techRadarApiRef,
new TechRadar({
width: 1500,
height: 800,
}),
);
export default builder.build() as ApiHolder;