Thank you for your kind support.
I am happy because your response is faster and you have fixed the issue in a short time.
So, again thank you for this.😊
I have make some changes and I have used 'className={ props.className } { ...useBlockProps }' and that is not proper syntax, we need to use below format:
'{ ...useBlockProps( { className:props.className } ) }'.
<strong>Wrong main block :</strong>
<div className={ props.className } { ...useBlockProps >
<strong>Right main block:</strong>
<div { ...useBlockProps( { className:props.className } ) }>