List&Grid elements hide in mobile

Thank you Roi

I wrote your code, but its not work,

so I wrote like this page Velo Tutorial: Displaying Elements in Mobile Only | Help Center | Wix.com

but It’s not work,

This is the code I wrote.
Please tell me where is wrong.
*I selected the Hidden on load checkbox in the Properties panel.
*button5 & button7 is differ List & Grid items

import wixWindow from ‘wix-window’;
$w.onReady( function () {
if(wixWindow.formFactor === “mobile” &&
wixWindow.rendering.renderCycle === 1) {
$w(“#button5”).hide();
$w(“#button7”).hide();
}
} );