Skip to content

Commit

Permalink
Change div to span in DeleteFilesModal.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
harshithmohan committed Nov 21, 2023
1 parent 8667918 commit 35eb4dc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/Dialogs/DeleteFilesModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ type Props = {
const Title = ({ fileCount }: { fileCount: number }) => (
<div className="flex flex-row justify-between gap-x-0.5 text-xl font-semibold">
<div>Delete Confirmation</div>
<div className="flex gap-x-1">
<div className="text-panel-text-important">{fileCount}</div>
<div>
<span className="text-panel-text-important">{fileCount}</span>
&nbsp;
{fileCount === 1 ? 'File' : 'Files'}
</div>
Expand Down

0 comments on commit 35eb4dc

Please sign in to comment.