diff --git a/src/services/api/loaded-services.js b/src/services/api/loaded-services.js index 6d708a1..44ddb2b 100644 --- a/src/services/api/loaded-services.js +++ b/src/services/api/loaded-services.js @@ -55,9 +55,7 @@ export async function getHome() { home = await ApiGetService( process.env.REACT_APP_HOME_URL + customer.id + "/" ); - } else { - home = await ApiGetService(process.env.REACT_APP_HOME_URL); - } + } else home = await ApiGetService(process.env.REACT_APP_HOME_URL); } // Handles post requests