Commit e646dce4 authored by ChamendiPabasara's avatar ChamendiPabasara

Download gazette data

parent 334075f2
...@@ -20,6 +20,7 @@ export default class Home extends Component { ...@@ -20,6 +20,7 @@ export default class Home extends Component {
}); });
} }
//Download gazette data
refresher() { refresher() {
fetch(process.env.REACT_APP_API + "gazette") fetch(process.env.REACT_APP_API + "gazette")
.then((response) => response.json()) .then((response) => response.json())
......
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