diff --git a/src/components/Footer.js b/src/components/Footer.js index 109cf83..d4f8b88 100644 --- a/src/components/Footer.js +++ b/src/components/Footer.js @@ -1,4 +1,10 @@ -import { HStack, Link, useColorModeValue, VStack } from '@chakra-ui/react'; +import { + Divider, + HStack, + Link, + useColorModeValue, + VStack, +} from '@chakra-ui/react'; import { FaGithub } from 'react-icons/fa'; const Footer = () => ( @@ -14,6 +20,13 @@ const Footer = () => ( GitHub Repository + + + API Source + ); diff --git a/src/components/HospitalCard.js b/src/components/HospitalCard.js index f4a3d23..7143e45 100644 --- a/src/components/HospitalCard.js +++ b/src/components/HospitalCard.js @@ -73,10 +73,10 @@ const HospitalCard = ({ hosp, type }) => { )} {beds && ( - - {beds.map((be) => ( + + {beds.map((be, index) => (