-
Notifications
You must be signed in to change notification settings - Fork 87
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
I'm getting an import error when using the Google Pay React component with any NextJS projects. I've tried with both a fresh project as well as my company's web project.
To Reproduce
- Setup blank Typescript enabled NextJS project (
npx create-next-app, rename file topages/index.tsxand install necessary dependencies when prompted). npm installGoogle Pay React Button and include on page- See error thrown
Expected behavior
Expect Google Pay Button to render
Screenshots
Component information:
- Component
- React component (
@google-pay/button-react)
- React component (
- Component version 2.1.5
Environment:
- Device: MacBook Pro 15-inch, 2019
- OS: Mac OS 10.15.7
- Browser: Chrome 88.0.4324.146
- Country/region: US
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working
