feat: redirect subscribers to dashboard instead of plans page (#897)

This commit is contained in:
Aman Harwara
2022-02-24 21:28:39 +05:30
committed by GitHub
parent f9fafec11a
commit 7fe0873bbb
3 changed files with 33 additions and 12 deletions

View File

@@ -207,7 +207,10 @@ export class ApplicationView extends PureComponent<Props, State> {
const renderAppContents = !this.state.needsUnlock && this.state.launched;
return (
<PremiumModalProvider state={this.appState?.features}>
<PremiumModalProvider
application={this.application}
appState={this.appState}
>
<div className={this.platformString + ' main-ui-view sn-component'}>
{renderAppContents && (
<div