File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed
Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change 11import { Layout } from '@/components/Layout' ;
22import { Truncated } from '@/components/Truncated' ;
33import { Textarea } from '@/components/ui/textarea' ;
4- import { useMintGarden } from '@/hooks/useMintGarden' ;
54import { parseJson } from '@/lib/json' ;
65import {
76 ConditionArgType ,
@@ -73,8 +72,6 @@ interface BundleViewerProps {
7372}
7473
7574function BundleViewer ( { bundle } : BundleViewerProps ) {
76- const { fetchNft } = useMintGarden ( ) ;
77-
7875 return (
7976 < div className = 'flex flex-col gap-2 mt-4' >
8077 { bundle . coinSpends . map ( ( spend ) => (
@@ -137,6 +134,7 @@ function SpendViewer({ spend }: SpendViewerProps) {
137134 < div className = 'flex flex-col gap-2' >
138135 < div className = 'text-sm text-muted-foreground' > Output Conditions</ div >
139136 { spend . conditions . map ( ( condition , index ) => (
137+ // eslint-disable-next-line react/no-array-index-key -- immutable
140138 < ConditionViewer key = { index } condition = { condition } />
141139 ) ) }
142140 </ div >
You can’t perform that action at this time.
0 commit comments