Skip to content

Commit

Permalink
added comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Evan Berghoff authored and Evan Berghoff committed Jul 28, 2020
1 parent 3c3636b commit d46ff55
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions client/components/MakeMap.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ class MakeMap extends Component {
// if know tech is found after iterating through children array we will build out the innerBubble object
if (nameExists === false) {
// add properties and/or values to bubble objects
// conditional statements are to assign colors to bubbles
innerBubble.name = name;
innerBubble.description = 'DESCRIPTION';
innerBubble.loc = loc;
Expand Down
2 changes: 1 addition & 1 deletion client/components/containers/mainContainer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ class MainContainer extends Component {
constructor(props) {
super(props);
}

// router set up to render make map on clicking the button
render() {
return (
<div>
Expand Down
2 changes: 1 addition & 1 deletion client/components/containers/staticContainer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React, { Component } from 'react';

import Map from '../map';

// import MainContainer from './containers/MainContainer';
// need the div classname because the Map componenet needs to be nested in a div that has height stlying for nivo bubble to work
class StaticContainer extends Component {
constructor(props) {
super(props);
Expand Down
2 changes: 1 addition & 1 deletion server/controllers/stackControllers.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ if (today > day + 5) {
return err;
});
}

// retrieve info from all libraries
stackController.getAll = (req, res, next) => {
const queryAll = `SELECT libraries.name, types.name AS type, framework.name AS framework FROM libraries
INNER JOIN types ON libraries.type_id = types.type_id
Expand Down

0 comments on commit d46ff55

Please sign in to comment.