diff --git a/app/package.json b/app/package.json index 9e5f11d..5edff98 100644 --- a/app/package.json +++ b/app/package.json @@ -20,7 +20,7 @@ "react-router-dom": "^4.3.1", "react-scripts": "^2.1.5", "redux": "^4.0.1", - "redux-saga": "^0.16.0", + "redux-saga": "^0.16.2", "semantic-ui-react": "^0.85.0" }, "scripts": { diff --git a/app/src/resources/PageNotFound.jpg b/app/src/assets/images/PageNotFound.jpg similarity index 100% rename from app/src/resources/PageNotFound.jpg rename to app/src/assets/images/PageNotFound.jpg diff --git a/app/src/resources/ipfs_logo.png b/app/src/assets/images/ipfs_logo.png similarity index 100% rename from app/src/resources/ipfs_logo.png rename to app/src/assets/images/ipfs_logo.png diff --git a/app/src/resources/logo.png b/app/src/assets/images/logo.png similarity index 100% rename from app/src/resources/logo.png rename to app/src/assets/images/logo.png diff --git a/app/src/components/NotFound.js b/app/src/components/NotFound.js index eee996f..f711d44 100644 --- a/app/src/components/NotFound.js +++ b/app/src/components/NotFound.js @@ -1,5 +1,5 @@ import React from 'react'; -import pageNotFound from '../resources/PageNotFound.jpg'; +import pageNotFound from '../assets/images/PageNotFound.jpg'; const NotFound = () => { return ( diff --git a/app/src/containers/HomeContainer.js b/app/src/containers/HomeContainer.js index 8f6f319..f706b18 100644 --- a/app/src/containers/HomeContainer.js +++ b/app/src/containers/HomeContainer.js @@ -1,5 +1,5 @@ import React, { Component } from 'react'; -import {connect} from "react-redux"; +import { connect } from 'react-redux'; class HomeContainer extends Component { render() { diff --git a/app/src/containers/NavBar.js b/app/src/containers/NavBarContainer.js similarity index 74% rename from app/src/containers/NavBar.js rename to app/src/containers/NavBarContainer.js index 23b2d6e..2bb4b1a 100644 --- a/app/src/containers/NavBar.js +++ b/app/src/containers/NavBarContainer.js @@ -1,23 +1,17 @@ import React, { Component } from 'react'; +import {bindActionCreators} from 'redux'; +import {connect} from 'react-redux'; import { push } from 'connected-react-router' import PropTypes from 'prop-types'; - import { Image, Menu } from 'semantic-ui-react' -import logo from '../resources/logo.png'; -import {bindActionCreators} from "redux"; -import {connect} from "react-redux"; +import logo from '../assets/images/logo.png'; -class NavBar extends Component { +class NavBarContainer extends Component { constructor(props){ super(props); - - // this.handleItemClick = this.handleItemClick.bind(this); - - this.navRef = React.createRef(); } - render() { return (