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

Missing reference for AddressInfo component wrapped by injectIntl #855

Open
nekk29 opened this issue Sep 4, 2020 · 0 comments
Open

Missing reference for AddressInfo component wrapped by injectIntl #855

nekk29 opened this issue Sep 4, 2020 · 0 comments

Comments

@nekk29
Copy link

nekk29 commented Sep 4, 2020

I am trying to render the following user address component wrapped by injectIntl.

https://github.com/vtex-apps/store-components/blob/58acbbd9ee7b4f0c87f84682a321fd1439a08a43/react/components/UserAddress/AddressInfo.js

But I am loosing the reference component and getting and render error:

This is happening when I try to use the component inside another that I am building:

import '../index.css';
import React from 'react';
import UserAddress from 'vtex.store-components/UserAddress';
import { Provider } from 'vtex.store-resources/OrderFormContext';

function PreferencesModalAddressComponent(props) {
  return (
    <div>
      <Provider>
        <UserAddress></UserAddress>
      </Provider>
    </div>
  );
}

export default PreferencesModalAddressComponent;

Expected behavior
Render the component.

Screenshots
Vtex-io

Desktop (please complete the following information):

  • Browser Chrome
  • Version 85.0.4183.83 (Official Build) (64-bit)

Versión of dependences

"vtex.store-components": "3.x",
"vtex.store-resources": "0.x",
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant