change subComponents to components

This commit is contained in:
Ahmed-Ayman 2018-12-05 21:48:08 +02:00
parent 35f154f8c8
commit 401de982c8
7 changed files with 6 additions and 6 deletions

View File

@ -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');