refactor(react-tree-orgchart): use standard casing for file and class

This commit is contained in:
Jake Stanger 2020-01-28 13:50:18 +00:00
parent 3156c3f710
commit 319029b7cf
2 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
import { WebPartContext } from "@microsoft/sp-webpart-base"; import { WebPartContext } from "@microsoft/sp-webpart-base";
import { sp } from '@pnp/sp'; import { sp } from '@pnp/sp';
export default class spservices { export default class SPServices {
constructor(private context: WebPartContext) { constructor(private context: WebPartContext) {
sp.setup({ sp.setup({
spfxContext: this.context spfxContext: this.context

View File

@ -11,7 +11,7 @@ import 'react-sortable-tree/style.css';
import { IPersonaSharedProps, Persona, PersonaSize } from 'office-ui-fabric-react/lib/Persona'; import { IPersonaSharedProps, Persona, PersonaSize } from 'office-ui-fabric-react/lib/Persona';
import { IconButton } from 'office-ui-fabric-react/lib/Button'; import { IconButton } from 'office-ui-fabric-react/lib/Button';
import { WebPartTitle } from "@pnp/spfx-controls-react/lib/WebPartTitle"; import { WebPartTitle } from "@pnp/spfx-controls-react/lib/WebPartTitle";
import spservice from '../../../services/spservices'; import spservice from '../../../services/SPServices';
import { ITreeChildren } from './ITreeChildren'; import { ITreeChildren } from './ITreeChildren';
import { ITreeData } from './ITreeData'; import { ITreeData } from './ITreeData';
import { Spinner, SpinnerSize } from 'office-ui-fabric-react/lib/components/Spinner'; import { Spinner, SpinnerSize } from 'office-ui-fabric-react/lib/components/Spinner';