Skip to content

Commit b3b2d0b

Browse files
cannarocksd-beezee
authored andcommitted
add environment indicator to ExpressWizardContainer
1 parent a3ad6c5 commit b3b2d0b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/pages/ExpressWizard/index.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ import styled from 'styled-components';
5656
import * as Yup from 'yup';
5757
import { useLocalizeRoute } from 'src/hooks/useLocalizedRoute';
5858
import { useNavigate, useNavigationType } from 'react-router-dom';
59+
import { isDev } from 'src/common/isDevEnvironment';
5960
import DiscardChangesModal from './ActionModals/DiscardChangesModal';
6061
import { getPlatform } from './getPlatform';
6162
import {
@@ -305,6 +306,7 @@ export const ExpressWizardContainer = () => {
305306
},
306307
user: userData,
307308
workspace: activeWorkspace,
309+
envirnment: isDev() ? 'staging' : 'production',
308310
}),
309311
});
310312
};

0 commit comments

Comments
 (0)