Skip to content

Commit

Permalink
Fixed lint warning
Browse files Browse the repository at this point in the history
Enact-DCO-1.0-Signed-off-by: Hyelyn Kim (myelyn.kim@lge.com)
  • Loading branch information
mmyelyn committed Jan 13, 2025
1 parent 4025763 commit 55cff6f
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions samples/sampler/stories/qa/Dropdown.js
Original file line number Diff line number Diff line change
Expand Up @@ -335,15 +335,15 @@ InScroller.parameters = {
InScroller.storyName = 'in Scroller (PLAT-137855)';

export const WithChaningPositionWhileDropdownOpen = () => {
const [isRemoved, remove] = useState(false);
const [isRemoved, remove] = useState(false);

useEffect(() => {
setTimeout(() => {
remove(true);
}, 2000);
}, []);
useEffect(() => {
setTimeout(() => {
remove(true);
}, 2000);
}, []);

return (
return (
<div>
{!isRemoved && (
<div style={{margin: '20px'}}>
Expand All @@ -354,7 +354,7 @@ export const WithChaningPositionWhileDropdownOpen = () => {
<Dropdown open>{['a', 'b', 'c']}</Dropdown>
</div>
</div>
);
);
};

WithChaningPositionWhileDropdownOpen.storyName = 'with changing position while dropdown open';

0 comments on commit 55cff6f

Please sign in to comment.