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: {
116116 onSelectTab : ( request : SendRequest ) => void ,
117117 onCloseTab : ( request : SendRequest ) => void
118118} ) => {
119- const { id , request } = props . sendRequest ;
119+ const { request } = props . sendRequest ;
120120
121121 const onTabClick = React . useCallback ( ( ) => {
122122 props . onSelectTab ( props . sendRequest )
@@ -134,7 +134,6 @@ const SendTab = observer((props: {
134134 } , [ props . onCloseTab , props . sendRequest ] ) ;
135135
136136 return < TabContainer
137- key = { id }
138137 selected = { props . isSelectedTab }
139138 onClick = { onTabClick }
140139 onAuxClick = { onTaxAuxClick }
@@ -214,6 +213,7 @@ export const SendTabs = observer((props: {
214213 props . sendRequests . map ( ( sendRequest ) => {
215214 const isSelectedTab = props . selectedTab === sendRequest ;
216215 return < SendTab
216+ key = { sendRequest . id }
217217 sendRequest = { sendRequest }
218218 isSelectedTab = { isSelectedTab }
219219 onSelectTab = { props . onSelectTab }
You can’t perform that action at this time.
0 commit comments