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

Options issue in styled.tsx #689

Open
kennethbigler opened this issue Apr 20, 2022 · 0 comments
Open

Options issue in styled.tsx #689

kennethbigler opened this issue Apr 20, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@kennethbigler
Copy link

Describe the bug

https://github.com/intuit/design-systems-cli/blob/master/packages/utils/src/utils/styled.tsx#L58
I think options should be made optional, and then this should check if options exists. We are getting an error on:
TypeError: Cannot read properties of undefined (reading 'class').

To Reproduce

Run the VSCode debugger on a project with an @ids-ts component in it. NOTE: this only shows up on the debugger, it works fine when run via yarn test.

Expected behavior

Screenshots
Screen Shot 2022-04-11 at 3 59 00 PM

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Additional context

@kennethbigler kennethbigler added the bug Something isn't working label Apr 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant