mirror of
https://github.com/koodiklinikka/koodiklinikka.fi.git
synced 2026-03-22 03:06:39 +00:00
Add prettify command and run it
This commit is contained in:
@@ -5,14 +5,14 @@ import api from "./api";
|
||||
|
||||
export default class Members extends React.Component {
|
||||
state = {
|
||||
members: []
|
||||
members: [],
|
||||
};
|
||||
|
||||
componentDidMount() {
|
||||
request.get(api("members")).then(
|
||||
function(res) {
|
||||
this.setState({
|
||||
members: _.shuffle(res.data)
|
||||
members: _.shuffle(res.data),
|
||||
});
|
||||
}.bind(this)
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user