Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

apikey being passed to the Iframe wrapper component #276

Closed
oyeanuj opened this issue Mar 9, 2022 · 2 comments · Fixed by #277
Closed

apikey being passed to the Iframe wrapper component #276

oyeanuj opened this issue Mar 9, 2022 · 2 comments · Fixed by #277
Labels

Comments

@oyeanuj
Copy link

oyeanuj commented Mar 9, 2022

Hi @Kikobeats

I'm following the format from the docs for React Microlink component but receiving the following warning from React about the apiKey being inserted in the microlink_card__iframe component. This is not happening in the non iframe option. React also throws the warning below:

Warning: React does not recognize the `apiKey` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `apikey` instead. If you accidentally passed it from a parent component, remove it from the DOM element.
    at div
    at Card (webpack-internal:///./node_modules/@microlink/react/dist/microlink.module.js:2065:25)
    at GlobalState (webpack-internal:///./node_modules/@microlink/react/dist/microlink.module.js:691:23)
    at Microlink
    at O (webpack-internal:///./node_modules/styled-components/dist/styled-components.browser.esm.js:31:19811)
    at div
    at O (webpack-internal:///./node_modules/styled-components/dist/styled-components.browser.esm.js:31:19811)
@Kikobeats
Copy link
Member

Hello, and thanks for reporting.

I'm waiting QA and after that it will be released in the next patch version 🙂

@Kikobeats
Copy link
Member

Shipped at v5.5.8

Can you confirm it's working fine for you now?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants