From fa24a5da1626537e43016d26afa2928c43ca4dea Mon Sep 17 00:00:00 2001 From: Alexandre Asselin Date: Tue, 3 Dec 2024 16:19:10 -0500 Subject: [PATCH] fix last linting error --- .../src/HopperProvider/docs/controlled-mode/controlled.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/components/src/HopperProvider/docs/controlled-mode/controlled.tsx b/packages/components/src/HopperProvider/docs/controlled-mode/controlled.tsx index f8090c2fb..eda20ba2e 100644 --- a/packages/components/src/HopperProvider/docs/controlled-mode/controlled.tsx +++ b/packages/components/src/HopperProvider/docs/controlled-mode/controlled.tsx @@ -5,7 +5,7 @@ export default function Example() { const [selectedKeys, setSelectedKeys] = useState(["designer"]); const handleSelectionChange = (newSelectedKeys: Selection) => { - if(newSelectedKeys === "all") { + if (newSelectedKeys === "all") { setSelectedKeys(["designer", "developer", "manager"]); } else { setSelectedKeys([...Array.from(newSelectedKeys).map(x => x.toString())]);