Commit f7a89fb1 authored by ChamendiPabasara's avatar ChamendiPabasara

Updated componentDidUpdate

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