fix oopsies after rebase
Signed-off-by: Anders Näsman <andersn@spotify.com>
This commit is contained in:
@@ -1,30 +0,0 @@
|
||||
/*
|
||||
* Copyright 2022 The Backstage Authors
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
import React from 'react';
|
||||
import { createDevApp } from '@backstage/dev-utils';
|
||||
import {
|
||||
techdocsAddonsContribPlugin,
|
||||
TechdocsAddonsContribPage,
|
||||
} from '../src/plugin';
|
||||
|
||||
createDevApp()
|
||||
.registerPlugin(techdocsAddonsContribPlugin)
|
||||
.addPage({
|
||||
element: <TechdocsAddonsContribPage />,
|
||||
title: 'Root Page',
|
||||
path: '/techdocs-addons-contrib',
|
||||
})
|
||||
.render();
|
||||
@@ -36,7 +36,7 @@
|
||||
"dependencies": {
|
||||
"@backstage/core-components": "^0.9.3-next.1",
|
||||
"@backstage/core-plugin-api": "^1.0.0",
|
||||
"@backstage/integration": "^1.0.0",
|
||||
"@backstage/integration": "^1.1.0-next.2",
|
||||
"@backstage/integration-react": "^1.0.1-next.1",
|
||||
"@backstage/plugin-techdocs-react": "^0.1.0-next.0",
|
||||
"@backstage/theme": "^0.2.15",
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
|
||||
import { createPlugin } from '@backstage/core-plugin-api';
|
||||
import {
|
||||
createTechDocsAddon,
|
||||
createTechDocsAddonExtension,
|
||||
TechDocsAddonLocations,
|
||||
} from '@backstage/plugin-techdocs-react';
|
||||
import { ReportIssueAddon, ReportIssueProps } from './ReportIssue';
|
||||
@@ -38,9 +38,9 @@ export const techdocsAddonsContribPlugin = createPlugin({
|
||||
*/
|
||||
|
||||
export const ReportIssue = techdocsAddonsContribPlugin.provide(
|
||||
createTechDocsAddon<ReportIssueProps>({
|
||||
createTechDocsAddonExtension<ReportIssueProps>({
|
||||
name: 'ReportIssue',
|
||||
location: TechDocsAddonLocations.CONTENT,
|
||||
location: TechDocsAddonLocations.Content,
|
||||
component: ReportIssueAddon,
|
||||
}),
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user