1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-20 16:22:28 +03:00

Fix SdkConfig import in Notifications

Fixes an issue discovered after fixing the toggle - The SdkConfig in onEnableEmailNotificationsChange ends up being undefined if the import is left as-is.
This commit is contained in:
Travis Ralston
2019-02-21 15:18:54 -07:00
parent ee8a027b4c
commit 23dd3573f8

View File

@@ -28,7 +28,7 @@ import {
PushRuleVectorState, PushRuleVectorState,
ContentRules, ContentRules,
} from '../../../notifications'; } from '../../../notifications';
import * as SdkConfig from "../../../SdkConfig"; import SdkConfig from "../../../SdkConfig";
import LabelledToggleSwitch from "../elements/LabelledToggleSwitch"; import LabelledToggleSwitch from "../elements/LabelledToggleSwitch";
// TODO: this "view" component still has far too much application logic in it, // TODO: this "view" component still has far too much application logic in it,