change subComponents to components
This commit is contained in:
parent
35f154f8c8
commit
401de982c8
|
@ -2,12 +2,12 @@ import React from 'react';
|
||||||
import {connect} from 'react-redux';
|
import {connect} from 'react-redux';
|
||||||
import testAction from '../actions/test';
|
import testAction from '../actions/test';
|
||||||
import fetchVideos from '../actions/fetchVideos';
|
import fetchVideos from '../actions/fetchVideos';
|
||||||
import Search from '../subComponents/Search';
|
import Search from '../components/Search';
|
||||||
import Footer from '../subComponents/Footer';
|
import Footer from '../components/Footer';
|
||||||
import RandomLocation from "../subComponents/RandomLocation";
|
import RandomLocation from "../components/RandomLocation";
|
||||||
import RandomDate from "../subComponents/RandomDate";
|
import RandomDate from "../components/RandomDate";
|
||||||
import RandomTopic from "../subComponents/RandomTopic";
|
import RandomTopic from "../components/RandomTopic";
|
||||||
import Header from "../subComponents/Header";
|
import Header from "../components/Header";
|
||||||
class Home extends React.Component {
|
class Home extends React.Component {
|
||||||
clickBtn() {
|
clickBtn() {
|
||||||
this.props.testAction('some new value');
|
this.props.testAction('some new value');
|
||||||
|
|
Loading…
Reference in New Issue
Block a user