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

[BUG] The Props tab for the ouiButton component displays error #1261

Open
xeniatup opened this issue Apr 17, 2024 · 2 comments
Open

[BUG] The Props tab for the ouiButton component displays error #1261

xeniatup opened this issue Apr 17, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@xeniatup
Copy link

Describe the bug

On the https://oui.opensearch.org/1.5/#/navigation/button the Props tab for ouiButton shows an error.
I tried a couple of other components, they load the props properly.

Error: Cannot read properties of undefined (reading 'props') at GuideSectionPropsTable (https://oui.opensearch.org/1.5/bundle.js:689429:26) at renderWithHooks (https://oui.opensearch.org/1.5/bundle.js:341789:18) at mountIndeterminateComponent (https://oui.opensearch.org/1.5/bundle.js:344323:13) at beginWork$1 (https://oui.opensearch.org/1.5/bundle.js:345691:16) at HTMLUnknownElement.callCallback (https://oui.opensearch.org/1.5/bundle.js:325865:14) at Object.invokeGuardedCallbackDev (https://oui.opensearch.org/1.5/bundle.js:325914:16) at invokeGuardedCallback (https://oui.opensearch.org/1.5/bundle.js:325969:31) at beginWork$$1 (https://oui.opensearch.org/1.5/bundle.js:351309:7) at performUnitOfWork (https://oui.opensearch.org/1.5/bundle.js:350227:12) at workLoopSync (https://oui.opensearch.org/1.5/bundle.js:350200:22)

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'https://oui.opensearch.org/1.5/#/navigation/button'
  2. Scroll to the tabs (Demo JS, Snippet, Props)
  3. Click on 'Props.'
  4. See error

Expected behavior

Other components show a table with props under a similar tab.

Screenshots
Screenshot 2024-04-17 at 11 56 03 AM

@xeniatup xeniatup added bug Something isn't working untriaged labels Apr 17, 2024
@amsiglan
Copy link

+1

@dblock
Copy link
Member

dblock commented Jun 24, 2024

Catch All Triage - 1 2 3 4 5 6

@dblock dblock removed the untriaged label Jun 24, 2024
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

3 participants