- {[...Array(5)].map((_message: any, i: number) => (
+ {[...Array(5)].map((_message: unknown, i: number) => (
(undefined);
diff --git a/apps/anon-message-client/src/components/CopyButton.tsx b/apps/anon-message-client/src/components/CopyButton.tsx
index 15652b3d55..51dd28a2ab 100644
--- a/apps/anon-message-client/src/components/CopyButton.tsx
+++ b/apps/anon-message-client/src/components/CopyButton.tsx
@@ -7,14 +7,14 @@ interface CopyButtonProps {
const CopyButton: React.FC = ({ link }) => {
const [copied, setCopied] = useState(false);
- const copyLink = () => {
+ const copyLink = (): void => {
navigator.clipboard.writeText(link);
};
return (