We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 73b3e80 commit 519384cCopy full SHA for 519384c
src/containers/profile/ProfileMode.js
@@ -43,11 +43,11 @@ export default class ProfileMode extends Component {
43
if (this.props.user.emotions_basis) {
44
const reports = this.props.user.emotions_report.split('\n')
45
for (let report of reports) {
46
- const indexLeft = report.indexOf('(')
47
- const indexRight = report.indexOf(')')
+ const indexLeft = report.indexOf('(')
+ const indexRight = report.indexOf(')')
48
const title = report.slice(indexLeft + 1, indexRight)
49
const content = report.slice(0, indexLeft)
50
-
+
51
reportList.push({ title, content })
52
}
53
0 commit comments