diff --git a/src/components/EnhancedTable.js b/src/components/EnhancedTable.js index f3d31dd..c7eb76a 100644 --- a/src/components/EnhancedTable.js +++ b/src/components/EnhancedTable.js @@ -105,7 +105,6 @@ class EnhancedTable extends Component { let b_value = b[orderBy]; a_value = a_value.hasOwnProperty('searchText') ? a_value.searchText.toLowerCase() : a_value.toLowerCase(); b_value = b_value.hasOwnProperty('searchText') ? b_value.searchText.toLowerCase() : b_value.toLowerCase(); - console.log(a_value); if(a_value.trim() === '') a_value = 'zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz'; if(b_value.trim() === '') b_value = 'zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz'; return (a_value < b_value) ? -1 : 1; diff --git a/src/utils/feathers.js b/src/utils/feathers.js index 187ceef..2bcc8c2 100644 --- a/src/utils/feathers.js +++ b/src/utils/feathers.js @@ -2,8 +2,8 @@ import feathers from '@feathersjs/client'; const app = feathers(); // Change to your production ambassador web service -const restClient = feathers.rest('http://localhost:3030'); -// const restClient = feathers.rest('https://palmpaybackend.leticiacamara.com'); +//const restClient = feathers.rest('http://localhost:3030'); +const restClient = feathers.rest('https://ambpay.palmpay.io'); // Configure an Fetch AJAX library with that client. For fetch details see https://facebook.github.io/react-native/docs/network.html // For rest details see https://docs.feathersjs.com/api/client/rest.html