Client scripts are not taking effects

hi there hope everyone is doing good idk but the clinet scripts are not taking effects

frappe.listview_settings[‘User’] = {
onload: function(listview) {
// Hide the sidebar when in List View
$(‘.layout-side-section’).hide();
},
refresh: function(listview) {
// Ensure the sidebar remains hidden on refresh
$(‘.layout-side-section’).hide();
}
};
is there any issue in the script

Did you select “List” in “Apply To” in Client Script?

no sorry its form view should i select list

both ways its the same