Skip to content

ButterCMS Preview Functionality #19

@ViolanteCodes

Description

@ViolanteCodes

It looks like preview is set with !: https://github.com/ButterCMS/react-starter-buttercms/blob/main/src/utils/buttercmssdk.js#L6

If no PREVIEW value is set, this works correctly - but if the user manually sets it to true, it breaks the preview functionality and actually displays the opposite.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions