diff --git a/client/src/components/Message.tsx b/client/src/components/Message.tsx index dba854d..76e02f0 100644 --- a/client/src/components/Message.tsx +++ b/client/src/components/Message.tsx @@ -2,7 +2,7 @@ import { FaThumbsUp } from 'react-icons/fa'; import Avatar from '@components/Avatar'; import PopupMenu from './PopupMenu'; -const Image = ({ image }: {image: string}) => { +const Image = ({ image }: { image: string }) => { if (image === '' || image === null) { return null; } @@ -14,14 +14,14 @@ const Image = ({ image }: {image: string}) => { ); }; -const Text = ({ text }: {text: string}) => { +const Text = ({ text }: { text: string }) => { if (text === '') { return null; } return