Commit c80441dd authored by Jiawen Lyu's avatar Jiawen Lyu

delete SchedulerWithData

parent a7173567
......@@ -5,9 +5,10 @@ import MessageArea from "./components/MessageArea";
import "./App.css";
import withFetchData from "./HOC/withFetchData";
import SchedulerWithData from "./components/Scheduler/SchedulerWithData";
import withUVs from "./HOC/withUVs";
const SchedulerWithData = withFetchData(withUVs(Scheduler))
class App extends Component {
state = {
......@@ -36,12 +37,9 @@ class App extends Component {
render() {
const { currentTimeFormatState, messages } = this.state;
return (
<div>
<div className="scheduler-container">
<SchedulerWithData
timeFormatState={currentTimeFormatState}
onDataUpdated={this.logDataUpdate}
......
import React from 'react'
import withFetchData from '../../HOC/withFetchData'
import Scheduler from "./Scheduler"
import withUVs from '../../HOC/withUVs';
export default withFetchData(withUVs(Scheduler))
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment