@@ -323,30 +323,34 @@ export function FilterDetailsStep({
323323 : null }
324324 </ SelectValue >
325325 </ SelectTrigger >
326- < SelectContent className = "max-h-60 overflow-y-auto" >
327- { eventSignatures . map ( ( event ) => {
328- // Truncate the hash for display purposes
329- const truncatedHash = truncateMiddle (
330- event . signature ,
331- 6 ,
332- 4 ,
333- ) ;
326+ < SelectContent >
327+ < div className = "max-h-60 overflow-y-auto" >
328+ { eventSignatures . map ( ( event ) => {
329+ // Truncate the hash for display purposes
330+ const truncatedHash = truncateMiddle (
331+ event . signature ,
332+ 6 ,
333+ 4 ,
334+ ) ;
334335
335- return (
336- < SelectItem
337- key = { event . signature }
338- value = { event . signature }
339- title = { event . name }
340- >
341- < div className = "flex flex-col" >
342- < span className = "font-medium" > { event . name } </ span >
343- < span className = "text-muted-foreground text-xs" >
344- Signature: { truncatedHash }
345- </ span >
346- </ div >
347- </ SelectItem >
348- ) ;
349- } ) }
336+ return (
337+ < SelectItem
338+ key = { event . signature }
339+ value = { event . signature }
340+ title = { event . name }
341+ >
342+ < div className = "flex flex-col" >
343+ < span className = "font-medium" >
344+ { event . name }
345+ </ span >
346+ < span className = "text-muted-foreground text-xs" >
347+ Signature: { truncatedHash }
348+ </ span >
349+ </ div >
350+ </ SelectItem >
351+ ) ;
352+ } ) }
353+ </ div >
350354 </ SelectContent >
351355 </ Select >
352356 ) : watchFilterType === "transaction" &&
@@ -373,24 +377,26 @@ export function FilterDetailsStep({
373377 : null }
374378 </ SelectValue >
375379 </ SelectTrigger >
376- < SelectContent className = "max-h-60 max-w-[600px] overflow-y-auto" >
377- { functionSignatures . map ( ( func ) => (
378- < SelectItem
379- key = { func . signature }
380- value = { func . signature }
381- title = { func . signature }
382- className = "w-full overflow-x-auto"
383- >
384- < div className = "flex w-full flex-col" >
385- < span className = "overflow-x-auto whitespace-nowrap pb-1 font-medium" >
386- { func . name }
387- </ span >
388- < span className = "overflow-x-auto text-muted-foreground text-xs" >
389- Selector: { func . signature }
390- </ span >
391- </ div >
392- </ SelectItem >
393- ) ) }
380+ < SelectContent >
381+ < div className = "max-h-60 max-w-[600px] overflow-y-auto" >
382+ { functionSignatures . map ( ( func ) => (
383+ < SelectItem
384+ key = { func . signature }
385+ value = { func . signature }
386+ title = { func . signature }
387+ className = "w-full overflow-x-auto"
388+ >
389+ < div className = "flex w-full flex-col" >
390+ < span className = "overflow-x-auto whitespace-nowrap pb-1 font-medium" >
391+ { func . name }
392+ </ span >
393+ < span className = "overflow-x-auto text-muted-foreground text-xs" >
394+ Selector: { func . signature }
395+ </ span >
396+ </ div >
397+ </ SelectItem >
398+ ) ) }
399+ </ div >
394400 </ SelectContent >
395401 </ Select >
396402 ) : (
0 commit comments