Skip to content

Commit

Permalink
feat: Updated frontend/src/components/MainDisplay.
Browse files Browse the repository at this point in the history
  • Loading branch information
sweep-ai[bot] authored Dec 14, 2023
1 parent 4079d62 commit 9f5a14c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions frontend/src/components/MainDisplay.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@ import React from 'react';
import { useNavigation } from './NavigationContext';
import RegionMap from './RegionMap';

/**
* MainDisplay renders the main content area of the application,
* displaying either the details of the selected region or a prompt
* when no region is selected.
*/
function MainDisplay() {
const { selectedRegion } = useNavigation();

Expand Down

0 comments on commit 9f5a14c

Please sign in to comment.