Skip to content

Bug: @shopify/app-bridge-react <Modal> throws "modal.hide is not a function" with mock-bridge #33

Description

@Yevhenii-Homeniuk

When using the official React component from @shopify/app-bridge-react together with mock-bridge, the app crashes with:

TypeError: modal.hide is not a function
    at @shopify_app-bridge-react.js:52:13
    at commitHookEffectListMount
    ...```

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions