Skip to content

Commit c7dfbec

Browse files
cleaned up extra code
1 parent 4eb19d2 commit c7dfbec

File tree

2 files changed

+1
-8
lines changed

2 files changed

+1
-8
lines changed

app/src/components/StateManagement/CreateTab/CreateContainer.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,6 @@ const CreateContainer = ({isThemeLight, data}) => {
6666
targetContext === undefined ||
6767
!targetContext.values
6868
) {
69-
// if (targetContext === null || targetContext === undefined) {
7069
setTableState(defaultTableData);
7170
} else {
7271
setTableState(targetContext.values);

app/src/components/StateManagement/StateManagement.tsx

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,7 @@ import TabPanel from '@mui/lab/TabPanel';
88
import StateContext from '../../context/context';
99

1010
import CreateContainer from './CreateTab/CreateContainer';
11-
// import AssignContainer from './AssignTab/AssignContainer';
1211
import DisplayContainer from './DisplayTab/DisplayContainer';
13-
import { blue } from '@material-ui/core/colors';
1412

1513

1614
const useStyles = makeStyles({
@@ -41,18 +39,14 @@ const StateManager = (props): JSX.Element => {
4139
<Box sx={{ borderBottom: 1, borderColor: 'divider' }}>
4240
<TabList onChange={handleChange} centered={true}>
4341
<Tab label="Create/Edit" value="1" />
44-
{/* <Tab label="Assign" value="2" /> */}
45-
{/* LegacyPD changed the value below */}
42+
{/* LegacyPD changed the value below to 2 */}
4643
<Tab label="Display" value="2" />
4744
</TabList>
4845
</Box>
4946
<TabPanel value="1">
5047
<CreateContainer data={components} isThemeLight={props.isThemeLight } />
5148
</TabPanel>
5249
{/* LegacyPD made changes below to change the value from 3 to 2 */}
53-
{/* <TabPanel value="2">
54-
<AssignContainer />
55-
</TabPanel> */}
5650
<TabPanel value="2">
5751
<DisplayContainer data={components} props={props.props} />
5852
</TabPanel>

0 commit comments

Comments
 (0)