Add more comments for clarification purposes
MAILPOET-6365
This commit is contained in:
committed by
Oluwaseun Olorunsola
parent
cea59c8e38
commit
a16f20b93d
@ -45,9 +45,7 @@ export default function EditTemplateBlocksNotification( { contentRef } ) {
|
||||
return;
|
||||
}
|
||||
setIsDialogOpen( true );
|
||||
recordEventOnce( 'edit_template_blocks_notification_opened', {
|
||||
templateId,
|
||||
} );
|
||||
recordEventOnce( 'edit_template_blocks_notification_opened' );
|
||||
};
|
||||
|
||||
const canvas = contentRef.current;
|
||||
|
@ -24,7 +24,7 @@ export function ScreenColors(): JSX.Element {
|
||||
|
||||
const handleOnChange = ( newStyles ) => {
|
||||
updateStyles( newStyles );
|
||||
recordEvent( 'styles_sidebar_screen_colors_styles_updated' );
|
||||
recordEvent( 'styles_sidebar_screen_colors_styles_updated' ); // We can't log the updated color here because the onChange function returns the complete object.
|
||||
};
|
||||
|
||||
return (
|
||||
|
Reference in New Issue
Block a user