Skip to content

Commit

Permalink
fix last linting error
Browse files Browse the repository at this point in the history
  • Loading branch information
alexasselin008 committed Dec 3, 2024
1 parent e23f63d commit fa24a5d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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())]);
Expand Down

0 comments on commit fa24a5d

Please sign in to comment.