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