Commit a9d670a2 authored by ChamendiPabasara's avatar ChamendiPabasara

Updated componentDidMount

parent e646dce4
......@@ -33,7 +33,8 @@ export default class Home extends Component {
}
});
}
//initiate downloder process
componentDidMount() {
while (this.counter < 1) {
this.downloader();
......
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