Hello
I am trying to create a dynamic page with a filter in my code.
It seems to work fine when I preview the page, but when I load the published website, this page is not loading, the site gets stuck.
Any hints?
The code looks like this:
import wixData from ‘wix-data’ ;
$w . onReady ( function () {
**let** today = **new** Date ();
**const** dateFilter = wixData . filter ()
. ge ( "date" , today );
$w ( "#datasetConcerts" ). setFilter ( dateFilter );
});