Skip to content

Commit e7f6014

Browse files
committed
remove band-aid in ServicesModal
1 parent 118e941 commit e7f6014

File tree

1 file changed

+1
-13
lines changed

1 file changed

+1
-13
lines changed

app/modals/ServicesModal.tsx

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -27,20 +27,8 @@ const ServicesModal: React.SFC<ServicesModalProps> = ({ i, app }) => {
2727
};
2828
}, [i]);
2929

30-
/**
31-
* TEMPORARY fix to allow us to fetch service names
32-
* AFTER we connect to the Mongo Database. This error does
33-
* not occur with PostgreSQL databases.
34-
*
35-
* Just click on the whitespace of the modal to run another
36-
* fetch request for service names
37-
*/
38-
const fetchStuff = () => {
39-
// fetchServicesNames(app);
40-
};
41-
4230
return (
43-
<div className="services-container" onClick={() => fetchStuff()}>
31+
<div className="services-container">
4432
{!servicesData.length ? (
4533
<h2>Loading...</h2>
4634
) : (

0 commit comments

Comments
 (0)