Skip to content

Commit 2ea60bb

Browse files
committed
Remove comments
1 parent 6731a16 commit 2ea60bb

File tree

2 files changed

+19
-25
lines changed

2 files changed

+19
-25
lines changed

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

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -287,11 +287,6 @@ const StatePropsPanel = ({ isThemeLight, data }): JSX.Element => {
287287
onChange={(event) => setInputType(event.target.value)}
288288
MenuProps={{ disablePortal: true }}
289289
style={{
290-
// backgroundColor: 'gray',
291-
// color: '#fff',
292-
// border: '1px solid white',
293-
// height: '50px',
294-
// width: '234px',
295290
height: '100%',
296291
width: '100%',
297292
margin: '0 auto'

app/src/components/left/Sidebar.tsx

Lines changed: 19 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ const Sidebar: React.FC<SidebarProps> = ({
2626
//the following allows users to click on the left panel to expand and collapse.
2727
// We decided to freeze so we've commented this and line 41 out
2828

29-
3029
// const handleTabClick = (event: React.MouseEvent, oldValue: number) => {
3130
// if (activeTab === oldValue) {
3231
// setActiveTab(null);
@@ -53,77 +52,77 @@ const Sidebar: React.FC<SidebarProps> = ({
5352
alignItems: 'center',
5453
justifyContent: 'top',
5554
gap: '50px',
56-
width: '70px', // changed from 67
57-
background: '#1e2024', // changed
58-
marginRight: '2px', // added
55+
width: '70px',
56+
background: '#1e2024',
57+
marginRight: '2px',
5958
height: '100vh'
6059
}}
6160
>
6261
<Tab sx={{ position: 'absolute', visibility: 'hidden' }} value={null} />
6362
<Tab
6463
sx={{
6564
color: activeTab === 0 ? '#E4E4E5' : '#9C9D9F',
66-
backgroundColor: activeTab === 0 && '#2D313A', // added
65+
backgroundColor: activeTab === 0 && '#2D313A',
6766
'&.Mui-selected': { color: '#E4E4E5' },
6867
'&:hover': { color: '#e9e9e9' },
69-
fontSize: '11px', // added
70-
textTransform: 'none' // added
68+
fontSize: '11px',
69+
textTransform: 'none'
7170
}}
7271
icon={<AddBox sx={{ fontSize: '26px' }} />}
7372
value={0}
74-
label="Canvas" // added
73+
label="Canvas"
7574
/>
7675
<Tab
7776
sx={{
7877
color: activeTab === 1 ? '#E4E4E5' : '#9C9D9F',
7978
backgroundColor: activeTab === 1 && '#2D313A',
8079
'&.Mui-selected': { color: '#E4E4E5' },
8180
'&:hover': { color: '#e9e9e9' },
82-
fontSize: '11px', // added
83-
textTransform: 'none' // added
81+
fontSize: '11px',
82+
textTransform: 'none'
8483
}}
8584
icon={<IoMdCube style={{ fontSize: '25px' }} />}
8685
value={1}
87-
label="Create" // added
86+
label="Create"
8887
/>
8988
<Tab
9089
sx={{
9190
color: activeTab === 2 ? '#E4E4E5' : '#9C9D9F',
9291
backgroundColor: activeTab === 2 && '#2D313A',
9392
'&.Mui-selected': { color: '#E4E4E5' },
9493
'&:hover': { color: '#e9e9e9' },
95-
fontSize: '11px', // added
96-
textTransform: 'none' // added
94+
fontSize: '11px',
95+
textTransform: 'none'
9796
}}
9897
icon={<Groups2 sx={{ fontSize: '28px' }} />}
9998
value={2}
100-
label="Collab" // added
99+
label="Collab"
101100
/>
102101
<Tab
103102
sx={{
104103
color: activeTab === 3 ? '#E4E4E5' : '#9C9D9F',
105104
backgroundColor: activeTab === 3 && '#2D313A',
106105
'&.Mui-selected': { color: '#E4E4E5' },
107106
'&:hover': { color: '#e9e9e9' },
108-
fontSize: '11px', // added
109-
textTransform: 'none' // added
107+
fontSize: '11px',
108+
textTransform: 'none'
110109
}}
111110
icon={<AccountBox sx={{ fontSize: '26px' }} />}
112111
value={3}
113-
label="Profile" // added
112+
label="Profile"
114113
/>
115114
<Tab
116115
sx={{
117116
color: activeTab === 4 ? '#E4E4E5' : '#9C9D9F',
118117
backgroundColor: activeTab === 4 && '#2D313A',
119118
'&.Mui-selected': { color: '#E4E4E5' },
120119
'&:hover': { color: '#e9e9e9' },
121-
fontSize: '11px', // added
122-
textTransform: 'none' // added
120+
fontSize: '11px',
121+
textTransform: 'none'
123122
}}
124123
icon={<Settings sx={{ fontSize: '26px' }} />}
125124
value={4}
126-
label="Settings" // added
125+
label="Settings"
127126
/>
128127
</Tabs>
129128
);

0 commit comments

Comments
 (0)