Hello y have the same problem .
when i read:
import wixWindow from ‘wix-window’;
let formFactor = wixWindow.formFactor;
if (formFactor === “Desktop”) {
$w(“#html2”).hide();
}
i have an error on the scrip
There was an error in your scriptThe element selector function (usually $w) cannot be used before the page is ready
Where is my error?
Thank you d’avance