removed deprecated entity props
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
@@ -16,7 +16,6 @@ export const EntitySonarQubeCard: ({
|
||||
variant,
|
||||
duplicationRatings,
|
||||
}: {
|
||||
entity?: Entity | undefined;
|
||||
variant?: InfoCardVariants | undefined;
|
||||
duplicationRatings?:
|
||||
| {
|
||||
@@ -38,7 +37,6 @@ export const SonarQubeCard: ({
|
||||
variant,
|
||||
duplicationRatings,
|
||||
}: {
|
||||
entity?: Entity | undefined;
|
||||
variant?: InfoCardVariants | undefined;
|
||||
duplicationRatings?: DuplicationRating[] | undefined;
|
||||
}) => JSX.Element;
|
||||
@@ -52,5 +50,5 @@ export { sonarQubePlugin };
|
||||
|
||||
// Warnings were encountered during analysis:
|
||||
//
|
||||
// src/components/SonarQubeCard/SonarQubeCard.d.ts:11:5 - (ae-forgotten-export) The symbol "DuplicationRating" needs to be exported by the entry point index.d.ts
|
||||
// src/components/SonarQubeCard/SonarQubeCard.d.ts:9:5 - (ae-forgotten-export) The symbol "DuplicationRating" needs to be exported by the entry point index.d.ts
|
||||
```
|
||||
|
||||
@@ -14,7 +14,6 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { Entity } from '@backstage/catalog-model';
|
||||
import { useEntity } from '@backstage/plugin-catalog-react';
|
||||
import { Chip, Grid } from '@material-ui/core';
|
||||
import { makeStyles } from '@material-ui/core/styles';
|
||||
@@ -90,7 +89,6 @@ export const SonarQubeCard = ({
|
||||
variant = 'gridItem',
|
||||
duplicationRatings = defaultDuplicationRatings,
|
||||
}: {
|
||||
entity?: Entity;
|
||||
variant?: InfoCardVariants;
|
||||
duplicationRatings?: DuplicationRating[];
|
||||
}) => {
|
||||
|
||||
Reference in New Issue
Block a user