mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-14 02:06:29 +00:00
Going LIte
This commit is contained in:
@@ -34,7 +34,7 @@ function getColorByIndex (index) {
|
||||
|
||||
export default class FolderMark extends React.Component {
|
||||
render () {
|
||||
let color = getColorByIndex(this.props.id)
|
||||
let color = getColorByIndex(this.props.color)
|
||||
return (
|
||||
<i className='fa fa-square fa-fw' style={{color: color}}/>
|
||||
)
|
||||
@@ -42,5 +42,5 @@ export default class FolderMark extends React.Component {
|
||||
}
|
||||
|
||||
FolderMark.propTypes = {
|
||||
id: PropTypes.number
|
||||
color: PropTypes.number
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user