Skip to content

Conversation

@ionush
Copy link
Collaborator

@ionush ionush commented Jan 24, 2018

css update and general interface improvement

Copy link
Collaborator

@claireinez claireinez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please get rid of the console logs and commented out code!

config.env Outdated
@@ -0,0 +1 @@
DATABASE_URL= postgres://postgress:12345678@localhost:5432/cryptodb
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This file shouldn't be in source control

@@ -0,0 +1,91 @@
const { io } = require('./server.js');
// console.log('poopoo', io);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lol


const app = express();
const server = require('http').Server(app);
// const io = require('socket.io')(server);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nope

const app = express();
const server = require('http').Server(app);
// const io = require('socket.io')(server);
var io = (module.exports.io = require('socket.io')(server));
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why's this a var when all the others are consts?


// module.exports = io;

// const express = require('express');
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Come on, you know how I feel about commented out code

}
}
${
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What was this block for?

border-top-left-radius: 5px;
}
${
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What are these ${ } blocks?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you get rid of these blocks? What are they for?

@@ -0,0 +1,77 @@
import React, { Component } from 'react';
import FAChevronDown from 'react-icons/lib/md/keyboard-arrow-down';
import FAMenu from 'react-icons/lib/fa/list-ul';
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These aren't used so delete them

const { chats, activeChat, user, setActiveChat, logout } = this.props;
return (
<div id="side-bar">
{/* <div className="heading">
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Get rid of the commented out code

'react-hot-loader/patch',
'webpack-dev-server/client?http://localhost:8080',
'webpack/hot/only-dev-server',
// 'react-hot-loader/patch',
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure why these have been commented out. I think they are needed.

@Karyum
Copy link
Contributor

Karyum commented Jan 24, 2018

@ionush change title and PR description to relate to an issue

@@ -0,0 +1 @@
DATABASE_URL= postgres://samis:12345@localhost:8080/coin
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This file shouldn't be in source control.


const app = express();
const server = require('http').Server(app);
var io = (module.exports.io = require('socket.io')(server));
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Make this a const

currentPrice: null,
differenceDollars: null,
differencePercentage: null,
monthChangeD: null,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These should still be differenceDollars and differencePercentage throughout this file.

border-top-left-radius: 5px;
}
${
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you get rid of these blocks? What are they for?

module.exports = {
context: __dirname,
entry: [
'react-hot-loader/patch',
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These shouldn't have been deleted, right?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants