Skip to content

Commit

Permalink
remove unnecessary dropdown
Browse files Browse the repository at this point in the history
  • Loading branch information
dpgraham4401 committed Sep 25, 2023
1 parent 9f3abb1 commit 2770132
Showing 1 changed file with 3 additions and 11 deletions.
14 changes: 3 additions & 11 deletions client/src/features/haztrakSite/SiteList/SiteList.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { HtCard, HtDropdown, HtModal } from 'components/Ht';
import { HaztrakSite, HtSiteTable } from 'components/HaztrakSite';
import { HtCard, HtModal } from 'components/Ht';
import { useHtAPI } from 'hooks';
import React, { useEffect, useState } from 'react';
import { Link } from 'react-router-dom';
import { HaztrakSite, HtSiteTable } from 'components/HaztrakSite';

/**
* Returns a table displaying the Haztrak sites a user has access to.
Expand All @@ -23,15 +23,7 @@ export function SiteList() {
return (
<>
<HtCard>
<HtCard.Header title="My Sites">
<HtDropdown
keyName="mySitesDropdown"
links={[
{ name: 'hello', path: '#/hello' },
{ name: 'blah', path: '#/blah' },
]}
/>
</HtCard.Header>
<HtCard.Header title="My Sites" />
<HtCard.Body>
{/* if loading, show HtCard spinner component*/}
{loading && !error ? (
Expand Down

0 comments on commit 2770132

Please sign in to comment.