Skip to content

Commit

Permalink
Consistently use key icon for API token
Browse files Browse the repository at this point in the history
  • Loading branch information
fwcd committed Oct 2, 2024
1 parent f66e757 commit ea011de
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/screens/home/displays/DisplayInspectorApiTokenCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { ApiTokenModal } from '@luna/components/ApiTokenModal';
import { TitledCard } from '@luna/components/TitledCard';
import { AuthContext } from '@luna/contexts/AuthContext';
import { Button, Tooltip, useDisclosure } from '@nextui-org/react';
import { IconClipboard, IconLink } from '@tabler/icons-react';
import { IconClipboard, IconKey } from '@tabler/icons-react';
import { useCallback, useContext } from 'react';

export function DisplayInspectorApiTokenCard() {
Expand All @@ -16,7 +16,7 @@ export function DisplayInspectorApiTokenCard() {
}, [token]);

return (
<TitledCard icon={<IconLink />} title="API Token">
<TitledCard icon={<IconKey />} title="API Token">
<div className="flex flex-row items-center space-x-1">
<Tooltip content="Show the token">
<Button size="md" onPress={onOpen}>
Expand Down

0 comments on commit ea011de

Please sign in to comment.