Skip to content

Commit

Permalink
Removed scratch-online stuff, reders to #4
Browse files Browse the repository at this point in the history
  • Loading branch information
raffaelepojer committed Aug 25, 2020
1 parent 8f4d7cd commit 266ce5f
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions src/components/menu-bar/menu-bar.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -511,42 +511,42 @@ class MenuBar extends React.Component {
(this.props.isShowingProject || this.props.isUpdating) && (
<ProjectWatcher onDoneUpdating={this.props.onSeeCommunity}>
{
waitForUpdate => (
/* waitForUpdate => (
<ShareButton
className={styles.menuBarButton}
isShared={this.props.isShared}
/* eslint-disable react/jsx-no-bind */
onClick={() => {
this.handleClickShare(waitForUpdate);
}}
/* eslint-enable react/jsx-no-bind */
/>
)
) */
}
</ProjectWatcher>
)
) : (
this.props.showComingSoon ? (
<MenuBarItemTooltip id="share-button">
<ShareButton className={styles.menuBarButton} />
{/* <ShareButton className={styles.menuBarButton} /> */}
</MenuBarItemTooltip>
) : []
)}
{this.props.canRemix ? remixButton : []}
</div>
<div className={classNames(styles.menuBarItem, styles.communityButtonWrapper)}>
{/* <div className={classNames(styles.menuBarItem, styles.communityButtonWrapper)}>
{this.props.enableCommunity ? (
(this.props.isShowingProject || this.props.isUpdating) && (
<ProjectWatcher onDoneUpdating={this.props.onSeeCommunity}>
{
waitForUpdate => (
<CommunityButton
className={styles.menuBarButton}
/* eslint-disable react/jsx-no-bind */
onClick={() => {
this.handleClickSeeCommunity(waitForUpdate);
}}
/* eslint-enable react/jsx-no-bind */
/>
)
}
Expand All @@ -557,11 +557,11 @@ class MenuBar extends React.Component {
<CommunityButton className={styles.menuBarButton} />
</MenuBarItemTooltip>
) : [])}
</div>
</div> */}
</div>

{/* show the proper UI in the account menu, given whether the user is
logged in, and whether a session is available to log in with */}
{/* * show the proper UI in the account menu, given whether the user is
logged in, and whether a session is available to log in with *}
<div className={styles.accountInfoGroup}>
<div className={styles.menuBarItem}>
{this.props.canSave && (
Expand Down Expand Up @@ -688,7 +688,7 @@ class MenuBar extends React.Component {
) : []}
</React.Fragment>
)}
</div>
</div> */}
</Box>
);
}
Expand Down

0 comments on commit 266ce5f

Please sign in to comment.