diff --git a/samples/react-tree-orgchart/src/services/spservices.ts b/samples/react-tree-orgchart/src/services/SPServices.ts similarity index 95% rename from samples/react-tree-orgchart/src/services/spservices.ts rename to samples/react-tree-orgchart/src/services/SPServices.ts index 98476a86f..9cdd02be6 100644 --- a/samples/react-tree-orgchart/src/services/spservices.ts +++ b/samples/react-tree-orgchart/src/services/SPServices.ts @@ -1,7 +1,7 @@ import { WebPartContext } from "@microsoft/sp-webpart-base"; import { sp } from '@pnp/sp'; -export default class spservices { +export default class SPServices { constructor(private context: WebPartContext) { sp.setup({ spfxContext: this.context diff --git a/samples/react-tree-orgchart/src/webparts/treeOrgChart/components/TreeOrgChart.tsx b/samples/react-tree-orgchart/src/webparts/treeOrgChart/components/TreeOrgChart.tsx index 2de535724..2325bd1f4 100644 --- a/samples/react-tree-orgchart/src/webparts/treeOrgChart/components/TreeOrgChart.tsx +++ b/samples/react-tree-orgchart/src/webparts/treeOrgChart/components/TreeOrgChart.tsx @@ -11,7 +11,7 @@ import 'react-sortable-tree/style.css'; import { IPersonaSharedProps, Persona, PersonaSize } from 'office-ui-fabric-react/lib/Persona'; import { IconButton } from 'office-ui-fabric-react/lib/Button'; import { WebPartTitle } from "@pnp/spfx-controls-react/lib/WebPartTitle"; -import spservice from '../../../services/spservices'; +import spservice from '../../../services/SPServices'; import { ITreeChildren } from './ITreeChildren'; import { ITreeData } from './ITreeData'; import { Spinner, SpinnerSize } from 'office-ui-fabric-react/lib/components/Spinner';