Skip to content

Commit

Permalink
Restore missing state update
Browse files Browse the repository at this point in the history
  • Loading branch information
jperals committed Sep 22, 2023
1 parent 6c4d4eb commit 4ef04ab
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pages/dropdown/width.page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,7 @@ export default function () {
const [loading, setLoading] = useState(asyncLoading);
const onOpen = () => {
if (asyncLoading) {
setLoading(true);
setTimeout(() => setLoading(false), 500);
}
};
Expand Down

0 comments on commit 4ef04ab

Please sign in to comment.