Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 20869ca

Browse files
committed
chore: make the pgp toast message more concise
1 parent edb3dfd commit 20869ca

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

src/app/(pages)/contact/_contact.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ export default function Main() {
1414
const [, copyToClipboard] = useCopyToClipboard();
1515

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

src/app/components/reusables/code/code-block.tsx

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -333,6 +333,16 @@ import CopyButton from './copy-code';
333333

334334
// react-syntax-highlighter has no types
335335

336+
/* eslint-disable */
337+
// @ts-nocheck
338+
339+
// react-syntax-highlighter has no types
340+
341+
/* eslint-disable */
342+
// @ts-nocheck
343+
344+
// react-syntax-highlighter has no types
345+
336346
/* eslint-disable */
337347
// @ts-nocheck
338348
SyntaxHighlighter.registerLanguage('rust', rust);

0 commit comments

Comments
 (0)