Fixed plans in dev mode

no refs

Plans picked from fixture in dev mode was overwritten by empty object when site data is updated, fixed to update correctly.
This commit is contained in:
Rish 2021-03-04 01:40:51 +05:30
parent 1868542504
commit 474a4f175b

View File

@ -158,6 +158,7 @@ export default class App extends React.Component {
...notificationSiteData,
...devSiteData,
plans: {
...(devSiteData || {}).plans,
...(apiSiteData || {}).plans,
...(previewSiteData || {}).plans
}