Skip to content

Commit 6941c98

Browse files
committed
Cleaned up unnecessary console logs
1 parent a37799b commit 6941c98

File tree

3 files changed

+0
-5
lines changed

3 files changed

+0
-5
lines changed

app/src/components/left/ComponentPanelRoutingItem.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ const ComponentPanelRoutingItem: React.FC<{}> = () => {
1414

1515
// find the root components that can be associated with a route
1616
// These will be the components that are displayed in the dropdown
17-
console.log('in the comp panel routing, state is ', state);
1817
let navigableComponents = state.components
1918
.filter(comp => state.rootComponents.includes(comp.id))
2019
.map(comp => comp.name);

app/src/helperFunctions/projectGetSaveDel.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,6 @@ export const deleteProject = (project: any): Promise<Object> => {
5656
name: project.name,
5757
userId: window.localStorage.getItem('ssid')
5858
});
59-
console.log('body is ', body);
60-
console.log('url is ', `${serverURL}/deleteProject`);
6159
const deletedProject = fetch(`${serverURL}/deleteProject`, {
6260
method: 'DELETE',
6361
credentials: 'include',
@@ -68,7 +66,6 @@ export const deleteProject = (project: any): Promise<Object> => {
6866
})
6967
.then(res => res.json())
7068
.then(data => {
71-
console.log('deleted project at end of fetch', data);
7269
return data;
7370
})
7471
.catch(err => console.log(`Error deleting project ${err}`));

server/controllers/projectController.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@ projectController.getProjects = (req, res, next) => {
5555
// delete project from database **currently not integrated into app**
5656

5757
projectController.deleteProject = (req, res, next) => {
58-
console.log('In delete projects controller');
5958
// pull project name and userId from req.body
6059
const { name, userId } = req.body;
6160
Projects.findOneAndDelete({ name, userId }, (err, deleted) => {

0 commit comments

Comments
 (0)