Skip to content

Commit

Permalink
correcting merge mishap
Browse files Browse the repository at this point in the history
  • Loading branch information
PhillipsOwen committed May 7, 2024
1 parent ce61067 commit 2ed09ec
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions src/components/dialog/observation-dialog.js
Original file line number Diff line number Diff line change
@@ -1,27 +1,19 @@
import React, {Fragment} from 'react';
import PropTypes from 'prop-types';
import BaseFloatingDialog from "@dialog/base-floating-dialog";
import {useLayers} from "@context";
import ObservationChart from "@dialog/observation-chart";

// define the properties of this component
ObservationDialog.propTypes = {
obs_data: PropTypes.object
};

//export default function ObservationDialog(obs_data) {
export const ObservationDialog = (obs_data) => {

/**
* This component renders the observation dialog, including the chart
*
* @param obs_data
* @returns {JSX.Element}
* @constructor
*/
export default function ObservationDialog(obs_data) {
export const ObservationDialog = (obs_data) => {
// get references to the observation data/list
const {
map,
selectedObservations,
setSelectedObservations
} = useLayers();
Expand Down

0 comments on commit 2ed09ec

Please sign in to comment.