diff --git a/packages/client/src/app/reducers/onDeck.ts b/packages/client/src/app/reducers/onDeck.ts index 805532d..39bbc54 100644 --- a/packages/client/src/app/reducers/onDeck.ts +++ b/packages/client/src/app/reducers/onDeck.ts @@ -5,9 +5,7 @@ import type { OnDeckState } from '../types'; const initialState: OnDeckState = { profile: { name: '', - product: '', - dropinVersion: '', - checkoutVersion: '' + product: '' }, checkout: {}, local: {}, diff --git a/packages/client/src/components/CheckoutBuilder/configSteps/ProfileForm.tsx b/packages/client/src/components/CheckoutBuilder/configSteps/ProfileForm.tsx index 41d3307..33c0d45 100644 --- a/packages/client/src/components/CheckoutBuilder/configSteps/ProfileForm.tsx +++ b/packages/client/src/components/CheckoutBuilder/configSteps/ProfileForm.tsx @@ -1,4 +1,4 @@ -import { FormControl, FormHelperText, Grid, InputLabel, MenuItem, Select, TextField, Typography } from '@mui/material'; +import { Box, Divider, FormControl, FormHelperText, Grid, InputLabel, MenuItem, Select, TextField, Typography } from '@mui/material'; import type { ActionCreatorWithPayload } from '@reduxjs/toolkit'; import React, { Fragment } from 'react'; import JSONInput from 'react-json-editor-ajrm'; @@ -21,35 +21,30 @@ export const ProfileForm = ({ configuration, step, setActiveStep, action, update return ( - + - - Create Profile - - - - - - - - Choose Product - - - - + Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Donec velit neque, auctor sit amet aliquam vel, ullamcorper sit amet ligula. Praesent sapien massa, convallis a pellentesque nec, egestas non nisi. Pellentesque in ipsum id orci porta dapibus. + + + Parameters + + + + + + Product @@ -76,7 +71,7 @@ export const ProfileForm = ({ configuration, step, setActiveStep, action, update sx={{ position: 'fixed', top: 0, right: 0, height: '100vh', bgcolor: 'secondary.main', width: '25%' }} > - +