mirror of
https://github.com/logto-io/logto.git
synced 2025-01-20 21:32:31 -05:00
refactor(console): remove unused element
remove unused element
This commit is contained in:
parent
777ef0e483
commit
59ffb43cf9
1 changed files with 0 additions and 24 deletions
|
@ -1,24 +0,0 @@
|
|||
import { useTranslation } from 'react-i18next';
|
||||
|
||||
import ClearIcon from '@/assets/icons/clear.svg';
|
||||
|
||||
import ActionButton from './index';
|
||||
|
||||
type Props = {
|
||||
onClick: () => void;
|
||||
};
|
||||
|
||||
function CodeClearButton({ onClick }: Props) {
|
||||
const { t } = useTranslation(undefined, { keyPrefix: 'admin_console' });
|
||||
|
||||
return (
|
||||
<ActionButton
|
||||
actionTip={t('jwt_claims.clear')}
|
||||
actionSuccessTip={t('jwt_claims.cleared')}
|
||||
icon={<ClearIcon />}
|
||||
onClick={onClick}
|
||||
/>
|
||||
);
|
||||
}
|
||||
|
||||
export default CodeClearButton;
|
Loading…
Add table
Reference in a new issue