Skip to content
This repository has been archived by the owner on Mar 14, 2024. It is now read-only.

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
xuebingjie1990 committed Jun 23, 2022
1 parent 61b57f1 commit 1d46e0f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/createBedSet.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,10 @@ export default class CreateBedSet extends React.Component {
}

async componentDidMount() {
this.getBedIdx()
if (this.state.myBedSet) {
this.getBedIdx()
}

}

async createBedSet() {
Expand Down

0 comments on commit 1d46e0f

Please sign in to comment.