@@ -324,21 +324,22 @@ const ModalBodyInputData = ({
324324 < FormLabel > Processed Data</ FormLabel >
325325
326326 < div className = "flex flex-col gap-2" >
327- < Checkbox
328- { ...form . register ( "processEventLogs" ) }
329- checked = { form . getValues ( "processEventLogs" ) }
330- onCheckedChange = { ( val ) => {
331- const checked = ! ! val ;
332- form . setValue ( "processEventLogs" , checked ) ;
333- if ( checked ) {
334- processEventLogsDisclosure . onOpen ( ) ;
335- } else {
336- processEventLogsDisclosure . onClose ( ) ;
337- }
338- } }
339- >
340- < Text > Event Logs</ Text >
341- </ Checkbox >
327+ < CheckboxWithLabel >
328+ < Checkbox
329+ { ...form . register ( "processEventLogs" ) }
330+ checked = { form . getValues ( "processEventLogs" ) }
331+ onCheckedChange = { ( val ) => {
332+ const checked = ! ! val ;
333+ form . setValue ( "processEventLogs" , checked ) ;
334+ if ( checked ) {
335+ processEventLogsDisclosure . onOpen ( ) ;
336+ } else {
337+ processEventLogsDisclosure . onClose ( ) ;
338+ }
339+ } }
340+ />
341+ < span > Event Logs</ span >
342+ </ CheckboxWithLabel >
342343 { /* Shows all/specific events if processing event logs */ }
343344 < Collapse in = { processEventLogsDisclosure . isOpen } >
344345 < div className = "flex flex-col gap-2 px-4" >
@@ -394,7 +395,7 @@ const ModalBodyInputData = ({
394395 }
395396 } }
396397 />
397- < Text > Transaction Receipts</ Text >
398+ < span > Transaction Receipts</ span >
398399 </ CheckboxWithLabel >
399400 { /* Shows all/specific functions if processing transaction receipts */ }
400401 < Collapse in = { processTransactionReceiptsDisclosure . isOpen } >
@@ -551,9 +552,10 @@ const FilterSelector = ({
551552 onChange = { ( selected : string [ ] ) => setFilter ( selected ) }
552553 >
553554 { filterNames . map ( ( name ) => (
554- < Checkbox key = { name } value = { name } >
555- < Text > { name } </ Text >
556- </ Checkbox >
555+ < CheckboxWithLabel key = { name } >
556+ < Checkbox value = { name } />
557+ < span > { name } </ span >
558+ </ CheckboxWithLabel >
557559 ) ) }
558560 </ CheckboxGroup >
559561 </ div >
0 commit comments