• Resolved Aleksandr Samokhin

    (@aleksandrsamokhin)


    When mapping the billing cycle, I’m getting the This block has encountered an error and cannot be previewed. error.

    In my console I see this:

    ReferenceError: sprintf is not defined

    nextHasNoMarginBottom: !0, children: Object.entries(o.labels).map( ([e,t], n) => (0, d.jsx)(u.TextControl, { __nextHasNoMarginBottom: !0, __next40pxDefaultSize: !0, label: sprintf((0, r.)(“Label for %s”, “freemius”), e),
    value: t,
    onChange: t => {
    i(“labels”, {
    …o.labels,
    [e]: t
    })
    }
    }, n))

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.