Skip to content

Commit

Permalink
remove ispro test for "new" button
Browse files Browse the repository at this point in the history
  • Loading branch information
kfarr committed Sep 1, 2024
1 parent 363f2f9 commit 8878cdf
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions src/editor/components/scenegraph/Toolbar.js
Original file line number Diff line number Diff line change
Expand Up @@ -370,13 +370,11 @@ export default class Toolbar extends Component {
return (
<div id="toolbar">
<div className="toolbarActions">
{this.props.currentUser?.isPro && (
<div>
<Button leadingIcon={<Edit24Icon />} onClick={this.newHandler}>
<div className="hideInLowResolution">New</div>
</Button>
</div>
)}
<div>
<Button leadingIcon={<Edit24Icon />} onClick={this.newHandler}>
<div className="hideInLowResolution">New</div>
</Button>
</div>
{this.state.showSaveBtn && this.props.currentUser ? (
<div className="saveButtonWrapper" ref={this.saveButtonRef}>
<Button
Expand Down

0 comments on commit 8878cdf

Please sign in to comment.