Skip to content

Commit

Permalink
Rename timelines directory to deployments
Browse files Browse the repository at this point in the history
  • Loading branch information
LanesGood committed Nov 8, 2024
1 parent 4a2a466 commit 45a9967
Show file tree
Hide file tree
Showing 21 changed files with 4 additions and 4 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
export { TimelineChart } from "./timeline-chart"
export { DeploymentMap } from "./map"
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,12 @@ const MapLoading = styled.div`
align-content: center;
`

export function DeploymentMap({
export const DeploymentMap = ({
campaignName,
deployments,
bounds,
selectedDeployment,
}) {
}) => {
const {
data: geojson,
error: geojsonError,
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
3 changes: 1 addition & 2 deletions src/templates/campaign/timeline-section.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,9 @@
import React, { useState } from "react"
import PropTypes from "prop-types"
import { graphql } from "gatsby"
import { DeploymentMap } from "../../components/timeline/map"

import { Section, SectionHeader, SectionContent } from "../../components/layout"
import { TimelineChart } from "../../components/timeline"
import { DeploymentMap, TimelineChart } from "../../components/deployments"

const DeploymentEventsSection = ({ id, deployments, bounds, campaignName }) => {
const [selectedDeployment, setSelectedDeployment] = useState(null)
Expand Down

0 comments on commit 45a9967

Please sign in to comment.