From 55cff6f853c3883af3186b24620cdcd66702667a Mon Sep 17 00:00:00 2001 From: "myelyn.kim" Date: Mon, 13 Jan 2025 10:58:58 +0900 Subject: [PATCH] Fixed lint warning Enact-DCO-1.0-Signed-off-by: Hyelyn Kim (myelyn.kim@lge.com) --- samples/sampler/stories/qa/Dropdown.js | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/samples/sampler/stories/qa/Dropdown.js b/samples/sampler/stories/qa/Dropdown.js index 72edc78ba9..63a3bdc35e 100644 --- a/samples/sampler/stories/qa/Dropdown.js +++ b/samples/sampler/stories/qa/Dropdown.js @@ -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 (
{!isRemoved && (
@@ -354,7 +354,7 @@ export const WithChaningPositionWhileDropdownOpen = () => { {['a', 'b', 'c']}
- ); + ); }; WithChaningPositionWhileDropdownOpen.storyName = 'with changing position while dropdown open';