diff --git a/src/components/ListGroup.tsx b/src/components/ListGroup.tsx index b07a45f..a280ec6 100644 --- a/src/components/ListGroup.tsx +++ b/src/components/ListGroup.tsx @@ -1,14 +1,22 @@ function ListGroup() { - let items = ['New York', 'San Francisco', 'Tokyo', 'London']; - items = []; + let items = ["New York", "San Francisco", "Tokyo", "London"]; + //items = []; - return ( - <> -

List Name

- {items.length === 0 &&

No items found

} - + return ( + <> +

List Name

+ {items.length === 0 &&

No items found

} + ); }