1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-13 17:56:25 +00:00

Fix a closing tag and a condition

This commit is contained in:
asmsuechan
2017-07-22 14:20:42 +09:00
parent a40385f87f
commit eddfdea2ca

View File

@@ -40,7 +40,7 @@ class InfoTab extends React.Component {
type: 'SET_CONFIG',
config: newConfig
})
if (newConfig.amaEnabled) {
if (!newConfig.amaEnabled) {
AwsMobileAnalyticsConfig.recordDynamitCustomEvent('DISABLE_AMA')
}
}
@@ -96,8 +96,8 @@ class InfoTab extends React.Component {
</ul>
<hr />
<div styleName='policy'>Data collectiong policy</div>
<p>We collect only the amount of users on Boostnote for DAU and any detail information
<p>such as a note's content or title is not collected.</p>
<p>We collect only the amount of users on Boostnote for DAU and any detail information<br />
such as a note's content or title is not collected.</p>
<p>You can see how it works on <a href='https://github.com/BoostIO/Boostnote'>GitHub</a></p>
<input onChange={(e) => this.handleConfigChange(e)}
checked={this.state.config.amaEnabled}