Skip to content

Commit

Permalink
changing imports to reference a new location for dialog components
Browse files Browse the repository at this point in the history
  • Loading branch information
PhillipsOwen committed May 7, 2024
1 parent 9e82a77 commit d784a2d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/app.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React, { Fragment } from 'react';
import { Map } from '@components/map';
import ObservationDialog from "@components/dialog/observation-dialog";
import { ObservationDialog } from "@components/dialog/observation-dialog";
import { useLayers } from '@context';
import { Sidebar } from '@components/sidebar';

Expand All @@ -11,16 +11,16 @@ export const App = () => {
} = useLayers();

return (
<Fragment>
<Fragment>
{
// for each observation selected
selectedObservations.map (function (obs) {
// render the observation
return <ObservationDialog key={obs.station_name} obs={obs} />;
})
}
<Map />
<Sidebar />
<Map />
<Sidebar />
</Fragment>
);
};

0 comments on commit d784a2d

Please sign in to comment.