Skip to content

Commit

Permalink
fix: Add link to error message about controlled vs uncontrolled
Browse files Browse the repository at this point in the history
  • Loading branch information
danez committed Apr 10, 2021
1 parent f503615 commit e50db44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Tabs.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ export default class Tabs extends Component {
) {
throw new Error(
`Switching between controlled mode (by using \`selectedIndex\`) and uncontrolled mode is not supported in \`Tabs\`.
For more information about controlled and uncontrolled mode of react-tabs see the README.`,
For more information about controlled and uncontrolled mode of react-tabs see https://github.com/reactjs/react-tabs#controlled-vs-uncontrolled-mode.`,
);
}

Expand Down

0 comments on commit e50db44

Please sign in to comment.