Angular instantsearch to hide refinements if not searched

Hi, i need a way to hide the refinements and display them only during search but i dont know how to do that, TYIA