File tree Expand file tree Collapse file tree 1 file changed +8
-6
lines changed
governance/xc_admin/packages/xc_admin_frontend/components/tabs Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -626,14 +626,16 @@ const General = () => {
626626 )
627627 }
628628
629- const OldPriceFeedsRows = ( { priceFeedData } : { priceFeedData : any } ) => {
629+ const OldPriceFeedsRows = ( {
630+ priceFeedSymbol,
631+ } : {
632+ priceFeedSymbol : string
633+ } ) => {
630634 return (
631635 < >
632- < tr key = { priceFeedData . metadata . symbol } >
636+ < tr key = { priceFeedSymbol } >
633637 < td className = "base16 py-4 pl-6 pr-2 lg:pl-6" > Symbol</ td >
634- < td className = "base16 py-4 pl-1 pr-2 lg:pl-6" >
635- { priceFeedData . metadata . symbol }
636- </ td >
638+ < td className = "base16 py-4 pl-1 pr-2 lg:pl-6" > { priceFeedSymbol } </ td >
637639 </ tr >
638640 </ >
639641 )
@@ -676,7 +678,7 @@ const General = () => {
676678 { addPriceFeed ? (
677679 < NewPriceFeedsRows key = { key } priceFeedData = { newChanges } />
678680 ) : deletePriceFeed ? (
679- < OldPriceFeedsRows key = { key } priceFeedData = { prev } />
681+ < OldPriceFeedsRows key = { key } priceFeedSymbol = { key } />
680682 ) : (
681683 diff . map ( ( k ) =>
682684 k === 'metadata' ? (
You can’t perform that action at this time.
0 commit comments