Skip to content
This repository has been archived by the owner on Jan 17, 2023. It is now read-only.

Commit

Permalink
Fixes #1794 Stop auto-opening Share panel
Browse files Browse the repository at this point in the history
  • Loading branch information
fzzzy committed Oct 21, 2016
1 parent 37d156e commit d4964a7
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions server/src/views/frame.js
Original file line number Diff line number Diff line change
Expand Up @@ -333,9 +333,7 @@ class Frame extends React.Component {
super(props);
this.state = {
hidden: false,
sharePanelDisplay: (
props.isOwner &&
Date.now() - props.shot.createdDate < 30000),
sharePanelDisplay: false,
closePageshotBanner: false
};
// Need to bind this so we can add/remove the event listener
Expand Down

0 comments on commit d4964a7

Please sign in to comment.