You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 to pages/index.tsx and install necessary dependencies when prompted).
npm install Google 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)
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
The text was updated successfully, but these errors were encountered:
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
npx create-next-app
, rename file topages/index.tsx
and install necessary dependencies when prompted).npm install
Google Pay React Button and include on pageExpected behavior
Expect Google Pay Button to render
Screenshots
Component information:
@google-pay/button-react
)Environment:
The text was updated successfully, but these errors were encountered: