removed deprecated entity props

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
Patrik Oldsberg
2022-02-18 13:09:56 +01:00
parent 10a0a8046b
commit 2262fe19c9
41 changed files with 61 additions and 186 deletions
+1 -3
View File
@@ -70,9 +70,7 @@ export const EntityLastLighthouseAuditCard: ({
// Warning: (ae-missing-release-tag) "EntityLighthouseContent" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
export const EntityLighthouseContent: (_props: {
entity?: Entity | undefined;
}) => JSX.Element;
export const EntityLighthouseContent: (_props: {}) => JSX.Element;
// Warning: (ae-missing-release-tag) "FetchError" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
+1 -4
View File
@@ -36,10 +36,7 @@ export const Router = () => (
</Routes>
);
type Props = {
/** @deprecated The entity is now grabbed from context instead */
entity?: Entity;
};
type Props = {};
export const EmbeddedRouter = (_props: Props) => {
const { entity } = useEntity();