Hi! New to Dato, used to Sanity.io. Iām trying to link from a Block to a Modal via a Single Link Field but cannot find an example on how to query for this on the frontend.
It looks like you are trying to query a block directly, this canāt be done, since blocks are always living inside āModular contentā fields of a record, so they canāt be queried directly, only through the records that they are children of.
You can see on what āModular contentā field this block is being used right here: