How to optionally append components to the output of a gutenberg block?

How to optionally append components to the output of a gutenberg block?

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)