Skip to content

Commit

Permalink
fix: marker time image
Browse files Browse the repository at this point in the history
  • Loading branch information
johnmarksilly authored and blakeblackshear committed Jul 19, 2022
1 parent 061fb15 commit 0879d7a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions web/src/components/Timeline/TimelineBlocks.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ export const TimelineBlocks = ({ timeline, firstBlockOffset, onEventClick }: Tim
const timelineBlockOffset = (timelineContainerHeight - largestYOffsetInBlocks) / 2;
return (
<div
className='relative'
className="relative"
style={{
height: `${timelineContainerHeight}px`,
width: `${timelineContainerWidth}px`,
background: "url('/marker.png')",
background: "url('/images/marker.png')",
backgroundPosition: 'center',
backgroundSize: '30px',
backgroundRepeat: 'repeat',
Expand All @@ -41,7 +41,7 @@ export const TimelineBlocks = ({ timeline, firstBlockOffset, onEventClick }: Tim
</div>
);
}
return <div />
return <div />;
}, [timeline, onEventClick, firstBlockOffset]);

return timelineEventBlocks;
Expand Down

0 comments on commit 0879d7a

Please sign in to comment.