diff --git a/src/components/ListGroup.tsx b/src/components/ListGroup.tsx index b9e07d2..19d1dcc 100644 --- a/src/components/ListGroup.tsx +++ b/src/components/ListGroup.tsx @@ -1,6 +1,9 @@ +import { useState } from "react"; + function ListGroup() { let items = ["New York", "San Francisco", "Tokyo", "London"]; - //items = []; + + const [selectedIndex, setSelectedIndex] = useState(-1); return ( <> @@ -9,9 +12,13 @@ function ListGroup() {