diff options
| author | Bob Zeleznik <zzzman@gmail.com> | 2019-11-19 16:05:42 -0500 |
|---|---|---|
| committer | Bob Zeleznik <zzzman@gmail.com> | 2019-11-19 16:05:42 -0500 |
| commit | 667d196a2cbc8e237de5be9a6f7ec4ecca9d2bb5 (patch) | |
| tree | 57c48aec7a14acce7dfa92465cc5f296b80e60da /src/client/views/collections/CollectionStaffView.tsx | |
| parent | 28763de7e4d90a4ecd9bfd640d1de85338a98f79 (diff) | |
tried to simplify button bar menu
Diffstat (limited to 'src/client/views/collections/CollectionStaffView.tsx')
| -rw-r--r-- | src/client/views/collections/CollectionStaffView.tsx | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/src/client/views/collections/CollectionStaffView.tsx b/src/client/views/collections/CollectionStaffView.tsx index eea05ea61..40e860b12 100644 --- a/src/client/views/collections/CollectionStaffView.tsx +++ b/src/client/views/collections/CollectionStaffView.tsx @@ -1,6 +1,6 @@ import { CollectionSubView } from "./CollectionSubView"; import { Transform } from "../../util/Transform"; -import React = require("react") +import React = require("react"); import { computed, action, IReactionDisposer, reaction, runInAction, observable } from "mobx"; import { Doc, HeightSym } from "../../../new_fields/Doc"; import { NumCast } from "../../../new_fields/Types"; @@ -36,7 +36,7 @@ export class CollectionStaffView extends CollectionSubView(doc => doc) { for (let i = 0; i < this._staves; i++) { let rows = []; for (let j = 0; j < 5; j++) { - rows.push(<div key={`staff-${i}-${j}`} className="collectionStaffView-line"></div>) + rows.push(<div key={`staff-${i}-${j}`} className="collectionStaffView-line"></div>); } staves.push(<div key={`staff-${i}`} className="collectionStaffView-staff"> {rows} @@ -51,11 +51,9 @@ export class CollectionStaffView extends CollectionSubView(doc => doc) { } render() { - return ( - <div className="collectionStaffView" ref={this._mainCont}> - {this.staves} - {this.addStaffButton} - </div> - ) + return <div className="collectionStaffView" ref={this._mainCont}> + {this.staves} + {this.addStaffButton} + </div>; } }
\ No newline at end of file |
