File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -759,9 +759,11 @@ export const ConnectTaxRegistrations = ({
759759 onLoaderStart,
760760 displayCountries,
761761 onAfterTaxRegistrationAdded,
762+ onAfterTaxRegistrationExpired,
762763} : {
763764 displayCountries ?: string [ ] ;
764765 onAfterTaxRegistrationAdded ?: ( { id} : { id : string } ) => void ;
766+ onAfterTaxRegistrationExpired ?: ( { id} : { id : string } ) => void ;
765767} & CommonComponentProps ) : JSX . Element => {
766768 const { wrapper, component : taxRegistrations } =
767769 useCreateComponent ( 'tax-registrations' ) ;
@@ -786,6 +788,14 @@ export const ConnectTaxRegistrations = ({
786788 }
787789 ) ;
788790
791+ useUpdateWithSetter (
792+ taxRegistrations ,
793+ onAfterTaxRegistrationExpired ,
794+ ( comp , val ) => {
795+ comp . setOnAfterTaxRegistrationExpired ( val ) ;
796+ }
797+ ) ;
798+
789799 return wrapper ;
790800} ;
791801
You can’t perform that action at this time.
0 commit comments