Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
ACS
Public
VILLASframework
VILLASweb
Commits
f72d7b89
Commit
f72d7b89
authored
Jul 22, 2019
by
Sonja Happ
Browse files
comment query of counts endpoint for now
parent
8ace4275
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/components/home.js
View file @
f72d7b89
...
@@ -41,9 +41,9 @@ class Home extends React.Component {
...
@@ -41,9 +41,9 @@ class Home extends React.Component {
}
}
componentWillMount
()
{
componentWillMount
()
{
RestAPI
.
get
(
'
/api/v1/counts
'
).
then
(
response
=>
{
//
RestAPI.get('/api/v1/counts').then(response => {
this
.
setState
({
counts
:
response
});
//
this.setState({ counts: response });
});
//
});
}
}
render
()
{
render
()
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment