Skip to content

Commit

Permalink
updated download and build error
Browse files Browse the repository at this point in the history
  • Loading branch information
nmr2701 committed Nov 3, 2024
1 parent 36db5ca commit c6a4e3a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions frontend/src/pages/LocationsPage/LocationsPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ import TopicSelector from "../../components/TopicSelector/TopicSelector"; // Imp
import { TractContext } from "../../contexts/tract_context"; // Import TractContext
import LocationInfo from '../../components/LocationsInfo/LocationsInfo'; // Import LocationInfo
import { TopicsContext } from "../../contexts/topics_context";
import DownloadCSV from '../../components/DownloadCSV/DownloadCSV';



Expand Down Expand Up @@ -194,6 +195,7 @@ const LocationsPage: React.FC = () => {
<NeighborhoodDemographicsBoard />
</div>
</div>
<DownloadCSV articles={filteredLocationArticles} />
<h1 className="titles"> Articles</h1>
<ArticleCard optionalArticles={filteredLocationArticles} />
</div>
Expand Down
4 changes: 2 additions & 2 deletions frontend/src/routes/MainNavigator.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,8 @@ describe('MainNavigator', () => {
<Wrapper hasPermission={true}></Wrapper>
);

expect(screen.getByText('Explore Topics')).toBeInTheDocument();
expect(screen.getByText('Neighborhoods')).toBeInTheDocument();
expect(screen.getByText('Explore Stories')).toBeInTheDocument();
expect(screen.getByText('Locations')).toBeInTheDocument();
// cannot access Upload and Dashboard if no access in this org
expect(screen.queryByText('Upload')).not.toBeInTheDocument();
expect(screen.queryByText('Dashboard')).not.toBeInTheDocument();
Expand Down

0 comments on commit c6a4e3a

Please sign in to comment.