Skip to content

Commit

Permalink
use alert component for signals operating fine messages
Browse files Browse the repository at this point in the history
  • Loading branch information
chiaberry committed Jun 12, 2024
1 parent dde04f6 commit 83f73d2
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion components/MapList/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import List from "../List";
import ListSearch from "../ListSearch";
import Map from "../Map";
import Modal from "react-bootstrap/Modal";
import Alert from "react-bootstrap/Alert";
import Nav from "../Nav";
import MapListMobileNav from "../MapListMobileNav";
import PageTitle from "../PageTitle";
Expand Down Expand Up @@ -190,7 +191,9 @@ function MapList({
ListItemContent={ListItemContent}
/>
) : (
<p>{noFeaturesMessage}</p>
<Alert className="mt-3" variant={"success"}>
{noFeaturesMessage}
</Alert>
)}
</div>
</div>
Expand Down

0 comments on commit 83f73d2

Please sign in to comment.