Skip to content

Commit

Permalink
fix: error <p> cannot appear as a descendant of <p>
Browse files Browse the repository at this point in the history
Signed-off-by: Raphael Arce <[email protected]>
  • Loading branch information
raphael-arce committed Oct 11, 2024
1 parent 446abf1 commit b81b9db
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/map/map-attribution.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export const MapAttribution: React.FC = () => {
];

return (
<p className="pointer-events-auto max-w-56 text-end text-xs sm:max-w-80 md:max-w-full pb-[4.7rem] pr-2 lg:pb-2 flex flex-row flex-wrap justify-end gap-x-[3px]">
<div className="pointer-events-auto max-w-56 text-end text-xs sm:max-w-80 md:max-w-full pb-[4.7rem] pr-2 lg:pb-2 flex flex-row flex-wrap justify-end gap-x-[3px]">
{links
.map<React.ReactNode>((link) => (
<a
Expand All @@ -29,6 +29,6 @@ export const MapAttribution: React.FC = () => {
</a>
))
.reduce((prev, curr) => [prev, " - ", curr])}
</p>
</div>
);
};

0 comments on commit b81b9db

Please sign in to comment.