File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -116,7 +116,7 @@ const SendTab = observer((props: {
116
116
onSelectTab : ( request : SendRequest ) => void ,
117
117
onCloseTab : ( request : SendRequest ) => void
118
118
} ) => {
119
- const { id , request } = props . sendRequest ;
119
+ const { request } = props . sendRequest ;
120
120
121
121
const onTabClick = React . useCallback ( ( ) => {
122
122
props . onSelectTab ( props . sendRequest )
@@ -134,7 +134,6 @@ const SendTab = observer((props: {
134
134
} , [ props . onCloseTab , props . sendRequest ] ) ;
135
135
136
136
return < TabContainer
137
- key = { id }
138
137
selected = { props . isSelectedTab }
139
138
onClick = { onTabClick }
140
139
onAuxClick = { onTaxAuxClick }
@@ -214,6 +213,7 @@ export const SendTabs = observer((props: {
214
213
props . sendRequests . map ( ( sendRequest ) => {
215
214
const isSelectedTab = props . selectedTab === sendRequest ;
216
215
return < SendTab
216
+ key = { sendRequest . id }
217
217
sendRequest = { sendRequest }
218
218
isSelectedTab = { isSelectedTab }
219
219
onSelectTab = { props . onSelectTab }
You can’t perform that action at this time.
0 commit comments