Skip to content

Conversation

mcrowder65
Copy link
Owner

No description provided.

import { HTTP_RESPONSE_TYPES } from "../../../shared/constants";

export const apiCall = async () => {
const url = process.env.NODE_ENV === "production" ? "" : "http://localhost:3000";
Copy link
Owner Author

Choose a reason for hiding this comment

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

this needs to be abstracted

<BrowserRouter history={browserHistory}>
<div>
<Route exact path="/" component={Home}/>
<Route path="/asdf" component={Home}/>
Copy link
Owner Author

Choose a reason for hiding this comment

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

this needs to make more sense

@@ -0,0 +1,58 @@
import "isomorphic-fetch";
Copy link
Owner Author

Choose a reason for hiding this comment

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

this needs to have a space between these two.

see mcrowder65/eslint-config-mcrowder65#13

@mcrowder65 mcrowder65 merged commit 5e048cc into master Jun 27, 2018
@mcrowder65 mcrowder65 deleted the server-stuff branch June 27, 2018 14:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant