|
@@ -93,8 +93,6 @@ class Home extends Component<PropsType, StateType> {
|
|
|
if (err) {
|
|
if (err) {
|
|
|
console.log(err);
|
|
console.log(err);
|
|
|
} else if (res.data) {
|
|
} else if (res.data) {
|
|
|
- console.log("NOPROJ");
|
|
|
|
|
- console.log(res.data);
|
|
|
|
|
if (res.data.length === 0) {
|
|
if (res.data.length === 0) {
|
|
|
this.props.history.push("new-project");
|
|
this.props.history.push("new-project");
|
|
|
} else if (res.data.length > 0 && !currentProject) {
|
|
} else if (res.data.length > 0 && !currentProject) {
|