Skip to content

Commit

Permalink
fix: fixed instances where stores with no whatsapp shows store closed
Browse files Browse the repository at this point in the history
  • Loading branch information
limyifan1 committed May 22, 2021
1 parent 39439f9 commit 5480880
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions src/Components/Info.js
Original file line number Diff line number Diff line change
Expand Up @@ -606,7 +606,11 @@ export class Info extends React.Component {
</Button>
</div>
) : (
<div> Store Is Closed, please come back later </div>
<div>
{this.state.data.openOrClose === false ? (
<div> Store Is Closed </div>
) : null}
</div>
)}
</div>
</div>
Expand Down Expand Up @@ -1457,8 +1461,9 @@ export class Info extends React.Component {
</div>
) : (
<div>
{" "}
Store Is Closed, please come back later{" "}
{this.state.data.openOrClose === false ? (
<div> Store Is Closed </div>
) : null}
</div>
)}
</div>
Expand Down Expand Up @@ -1584,8 +1589,10 @@ export class Info extends React.Component {
</div>
) : (
<div>
{" "}
Store Is Closed, please come back later{" "}
{this.state.data.openOrClose ===
false ? (
<div> Store Is Closed </div>
) : null}
</div>
)}
</div>
Expand Down

1 comment on commit 5480880

@vercel
Copy link

@vercel vercel bot commented on 5480880 May 22, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.