refactor: make features state consistent with codebase (#988)

This commit is contained in:
Aman Harwara
2022-04-20 20:11:32 +05:30
committed by GitHub
parent 7dae489617
commit 24d3aac3c7
7 changed files with 59 additions and 77 deletions

View File

@@ -31,7 +31,7 @@ interface Props {
export const PremiumModalProvider: FunctionalComponent<Props> = observer(
({ application, appState, children }) => {
const featureName = appState.features._premiumAlertFeatureName
const featureName = appState.features.premiumAlertFeatureName
const activate = appState.features.showPremiumAlert
const close = appState.features.closePremiumAlert