mirror of
https://github.com/bellingcat/ukraine-timemap.git
synced 2026-06-12 21:38:35 +03:00
Minor changes to example config for feature flags
This commit is contained in:
@@ -160,7 +160,7 @@ const TimelineEvents = ({
|
||||
const { shape: eventShape } = event;
|
||||
|
||||
let renderShape = isDot ? renderDot : renderBar;
|
||||
if (eventShape.shape) {
|
||||
if (eventShape && eventShape.shape) {
|
||||
if (eventShape.shape === AVAILABLE_SHAPES.BAR) {
|
||||
renderShape = renderBar;
|
||||
} else if (eventShape.shape === AVAILABLE_SHAPES.DIAMOND) {
|
||||
|
||||
Reference in New Issue
Block a user