Skip to content

Commit

Permalink
chore: replace text with an icon
Browse files Browse the repository at this point in the history
  • Loading branch information
bjarneo committed Oct 30, 2024
1 parent c06ecf0 commit 1986a95
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions client/routes/account/secrets.jsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { IconCheck, IconTrash } from '@tabler/icons';
import { IconCheck, IconFileOff, IconTrash } from '@tabler/icons';
import dayjs from 'dayjs';
import relativeTime from 'dayjs/plugin/relativeTime';
import { useState } from 'react';
Expand Down Expand Up @@ -130,11 +130,10 @@ const Secrets = () => {
))}
{secrets.length === 0 && (
<tr>
<td
colSpan={4}
className="px-6 py-8 text-center text-gray-400 italic"
>
{t('account.secrets.no_secrets')}
<td colSpan={4} className="px-6 py-8 text-center text-gray-400">
<div className="flex items-center justify-center gap-2">
<IconFileOff size={18} />
</div>
</td>
</tr>
)}
Expand Down

0 comments on commit 1986a95

Please sign in to comment.