pagopa / mui-italia

Material-UI theme inspired by BootstrapItalia.
https://pagopa.github.io/mui-italia
MIT License
18 stars 5 forks source link

[IOPID-1083] fix console warning "dangerouslySetInnerHTML" #475

Closed Ladirico closed 11 months ago

Ladirico commented 12 months ago

Short description

To the present day, when using the footer exported from MUI-Italy, if we do not use the href or set it as undefined in the console, the warning shown this warning:

Screenshot 2023-10-26 alle 16 12 55

List of changes proposed in this pull request

Product

This small bug was found by the Authentication and Identity team during the development of io-web-profiles

How to test

This solution can also be tested by running the storybook. Watching in the console when viewing the Footer no longer displays the Warning