Skip to content

Commit

Permalink
build: location card (#1)
Browse files Browse the repository at this point in the history
  • Loading branch information
mrhrifat committed Aug 17, 2022
1 parent 43bc98f commit c465eec
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/LocationCard.jsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import React from "react";
import { Grid, Box, Container } from "@mui/material/Grid";
import { Grid, Box, Container } from "@mui/material";
import { locations as cardLocations } from "data/mock-data";
import CarouselCard from "./CarouselCard";

const LocationCards = () => {
const LocationCard = () => {
const [cards] = React.useState(cardLocations);
if (!cards.length) {
return null;
Expand All @@ -25,4 +25,4 @@ const LocationCards = () => {
);
};

export default LocationCards;
export default LocationCard;

0 comments on commit c465eec

Please sign in to comment.