File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ import 'font-awesome-webpack'
66
77import iClientComponent from 'components/iClient/iClientComponent' ;
88import HomeComponent from 'components/Home/Home' ;
9- import ClientComponent from 'components/Client/ClientComponent ' ;
9+ import ClientComponent from 'components/Client/Client ' ;
1010import AreaComponent from 'components/Area/Area' ;
1111
1212ReactDOM . render (
Original file line number Diff line number Diff line change 11import React from 'react' ;
22
3- import Client from 'services/Client' ;
3+ import ClientService from 'services/Client' ;
44
5- class ClientComponent extends React . Component
5+ class Client extends React . Component
66{
77 constructor ( props ) {
88 super ( props ) ;
@@ -13,7 +13,7 @@ class ClientComponent extends React.Component
1313 }
1414
1515 getClients ( ) {
16- Client . getClients ( ) . then ( ( response ) => {
16+ ClientService . getClients ( ) . then ( ( response ) => {
1717 this . setState ( { clients : response . data . clients } ) ;
1818 } ) ;
1919 }
@@ -52,5 +52,5 @@ class ClientComponent extends React.Component
5252 }
5353}
5454
55- export default ClientComponent ;
55+ export default Client ;
5656
You can’t perform that action at this time.
0 commit comments