mirror of
https://github.com/Blair-SGA-Dev-Team/blazerapp.git
synced 2026-08-15 02:58:34 -04:00
fixed club data
This commit is contained in:
+2
-2
@@ -55,8 +55,8 @@ class Clubs extends React.Component {
|
|||||||
.then((json) => {
|
.then((json) => {
|
||||||
//onsole.log("done bitch?")
|
//onsole.log("done bitch?")
|
||||||
//console.log(json);
|
//console.log(json);
|
||||||
this.setState({data: JSON.parse(json)});
|
this.setState({data: JSON.parse(json).clubs});
|
||||||
this.setState({dataSearch:JSON.parse(json)});
|
this.setState({dataSearch:JSON.parse(json).clubs });
|
||||||
})
|
})
|
||||||
.catch((error) => console.error(error))
|
.catch((error) => console.error(error))
|
||||||
.finally(() => {
|
.finally(() => {
|
||||||
|
|||||||
Reference in New Issue
Block a user