I have implemented a clear button in the filter component. Clear button is working as expected but the button displays twice in the Page.
This is the code