Skip to content

Commit

Permalink
- Linting
Browse files Browse the repository at this point in the history
  • Loading branch information
sophia-massie committed Oct 30, 2024
1 parent 555c8ae commit 16e3a3e
Showing 1 changed file with 11 additions and 8 deletions.
19 changes: 11 additions & 8 deletions react/src/components/Projects/ProjectListing.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ const ProjectListing: React.FC = () => {
Click here to submit a ticket to DesignSafe.
</a>
</SectionMessage>
</div>
</div>
);
}

Expand All @@ -63,7 +63,7 @@ const ProjectListing: React.FC = () => {
<tbody>
{data && data?.length > 0 ? (
data.map((proj) => (
<tr key={proj.id} onClick={() => navigateToProject(proj.uuid)} >
<tr key={proj.id} onClick={() => navigateToProject(proj.uuid)}>
<td>{proj.name}</td>
<td>
{proj.ds_project?.value.projectId}
Expand All @@ -79,12 +79,15 @@ const ProjectListing: React.FC = () => {
) : (
<tr>
<td colSpan={3}>
<EmptyTablePlaceholder type="info">
No maps found.
<br />
<Button type='link' onClick={toggleModal}>Create New Map</Button> to get started.
</EmptyTablePlaceholder>
</td>
<EmptyTablePlaceholder type="info">
No maps found.
<br />
<Button type="link" onClick={toggleModal}>
Create New Map
</Button>{' '}
to get started.
</EmptyTablePlaceholder>
</td>
</tr>
)}
</tbody>
Expand Down

0 comments on commit 16e3a3e

Please sign in to comment.