Skip to content

Commit

Permalink
chore: make the pgp toast message more concise
Browse files Browse the repository at this point in the history
  • Loading branch information
ashgw committed May 27, 2024
1 parent edb3dfd commit 20869ca
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/(pages)/contact/_contact.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ export default function Main() {
const [, copyToClipboard] = useCopyToClipboard();

const successToast = () => {
toast.message('Key ID: 79821E0224D34EC4969FF6A8E5168EE090AE80D0', {
description: 'The public key block has been copied to your clipboard',
toast.message('79821E0224D34EC4969FF6A8E5168EE090AE80D0', {
description: 'PGP public key block is copied to your clipboard',
});
};

Expand Down
10 changes: 10 additions & 0 deletions src/app/components/reusables/code/code-block.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -333,6 +333,16 @@ import CopyButton from './copy-code';

// react-syntax-highlighter has no types

/* eslint-disable */
// @ts-nocheck

// react-syntax-highlighter has no types

/* eslint-disable */
// @ts-nocheck

// react-syntax-highlighter has no types

/* eslint-disable */
// @ts-nocheck
SyntaxHighlighter.registerLanguage('rust', rust);
Expand Down

0 comments on commit 20869ca

Please sign in to comment.