mirror of
https://github.com/wassname/talk.git
synced 2026-08-14 12:50:17 +08:00
Get rid of data direct dependency in the plugins
This commit is contained in:
@@ -50,7 +50,6 @@ class SettingsContainer extends React.Component {
|
||||
render() {
|
||||
return (
|
||||
<Settings
|
||||
data={this.props.data}
|
||||
root={this.props.root}
|
||||
indicateOn={this.indicateOn}
|
||||
indicateOff={this.indicateOff}
|
||||
@@ -72,7 +71,6 @@ class SettingsContainer extends React.Component {
|
||||
}
|
||||
|
||||
SettingsContainer.propTypes = {
|
||||
data: PropTypes.object,
|
||||
root: PropTypes.object,
|
||||
updateNotificationSettings: PropTypes.func.isRequired,
|
||||
digestFrequencyValues: PropTypes.array.isRequired,
|
||||
|
||||
Reference in New Issue
Block a user