mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
3f2bf36f6a
The Tabs component expects the `children` prop to be either a single Tab component or an array of Tab components, and the internal tab index should always map onto one of these components. However, if an invalid tab index was set, it was just returning the first tab contents. Instead it will now validate that the tab being asked for does exist, and throw an error otherwise. |
||
---|---|---|
.. | ||
components | ||
contexts | ||
css | ||
ducks | ||
helpers | ||
pages | ||
selectors | ||
store |