diff --git a/samples/react-organisationchart/src/webparts/organisationChart/IOrganisationChartWebPartProps.ts b/samples/react-organisationchart/src/webparts/organisationChart/IOrganisationChartWebPartProps.ts index b7a960109..3bd6b81e6 100644 --- a/samples/react-organisationchart/src/webparts/organisationChart/IOrganisationChartWebPartProps.ts +++ b/samples/react-organisationchart/src/webparts/organisationChart/IOrganisationChartWebPartProps.ts @@ -2,6 +2,4 @@ import { ServiceScope, EnvironmentType } from '@microsoft/sp-client-base'; export interface IOrganisationChartWebPartProps { description: string; - environmentType: EnvironmentType; - serviceScope: ServiceScope; } diff --git a/samples/react-organisationchart/src/webparts/organisationChart/components/OrganisationChart.tsx b/samples/react-organisationchart/src/webparts/organisationChart/components/OrganisationChart.tsx index 99a32dd09..c7ede1ec7 100644 --- a/samples/react-organisationchart/src/webparts/organisationChart/components/OrganisationChart.tsx +++ b/samples/react-organisationchart/src/webparts/organisationChart/components/OrganisationChart.tsx @@ -17,6 +17,8 @@ export interface IOrganisationChartWebPartState { } export interface IOrganisationChartProps extends IOrganisationChartWebPartProps { + environmentType: EnvironmentType; + serviceScope: ServiceScope; } export default class OrganisationChart extends React.Component {