mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-13 01:36:22 +00:00
Fix a closing tag and a condition
This commit is contained in:
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user