Skip to content

Commit

Permalink
docs: Fix state accesss
Browse files Browse the repository at this point in the history
  • Loading branch information
sapegin committed Aug 27, 2020
1 parent 7cefb48 commit be90f3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/basic/src/components/Button/Readme.md
Expand Up @@ -82,7 +82,7 @@ const [isOpen, setisOpen] = React.useState(false)
<Button
size="small"
onClick={() => setisOpen(true)}
disabled={state.isOpen}
disabled={isOpen}
>
Show Me
</Button>
Expand Down

0 comments on commit be90f3a

Please sign in to comment.