I cant figure out why the initialUiState setting doesnt work

Hi all, Im working with instantsearch JS, which works fine. However, I am currently not sure why the initialUiState config on my widget is not working


const search = instantsearch({
		indexName: 'The_Collection', 
		searchClient,
		insights: true,
		initialUiState: {
	        The_Collection: {
	            refinementList: { 
	                 year: ['2024'], 
	            },
	         }
	     }
	});

appreciate for any feedback!

Check your configuration and make sure the year facet is visible.

Thanks, I just noticed that the refinementList cannot be called that way, instead I need to call the object name!

const search = instantsearch({ indexName: 'The_Collection', searchClient, insights: true, initialUiState: { The_Collection: { hierarchicalMenu: { 'year': ['2024'], }, } } });;

this one works! incase anyone facing the same issues