Skip to content

Commit

Permalink
Fix display issue due to Next bug
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelperrin committed Dec 16, 2021
1 parent f08782b commit 2635003
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/TransportIcon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ const TransportIcon = ({ line, size = 24 }: TransportIconProps) => {
<div className="flex flex-nowrap gap-3">
{linesPerNetwork.map((networkLines, network) => (
<div key={network} className="flex flex-nowrap gap-1">
<div>
<div style={{ height: `${size}px` }}>
{network === Network.RER && (
<Image
src="/images/transport/RER.svg"
Expand Down Expand Up @@ -86,7 +86,7 @@ const TransportIcon = ({ line, size = 24 }: TransportIconProps) => {

<div className="flex gap-1">
{networkLines.map((line: string) => (
<div key={line}>
<div key={line} style={{ height: `${size}px` }}>
<Image
src={`/images/transport/${line}.svg`}
width={size}
Expand Down

1 comment on commit 2635003

@vercel
Copy link

@vercel vercel bot commented on 2635003 Dec 16, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.