update prettier config
This commit is contained in:
@ -57,7 +57,7 @@ export default function Conversation() {
|
||||
<div
|
||||
className={clsx(
|
||||
isSameNext ? "pb-1" : "pb-2",
|
||||
isOutbound ? "text-right" : "text-left"
|
||||
isOutbound ? "text-right" : "text-left",
|
||||
)}
|
||||
>
|
||||
<span
|
||||
@ -65,7 +65,7 @@ export default function Conversation() {
|
||||
"inline-block text-left w-[fit-content] p-2 rounded-lg text-white",
|
||||
isOutbound
|
||||
? "bg-[#3194ff] rounded-br-none"
|
||||
: "bg-black rounded-bl-none"
|
||||
: "bg-black rounded-bl-none",
|
||||
)}
|
||||
>
|
||||
{message.content}
|
||||
|
@ -25,7 +25,7 @@ const NewMessageArea: FunctionComponent<Props> = ({ recipient, onSend }) => {
|
||||
const sendMessageMutation = useMutation(sendMessage)[0];
|
||||
const { setQueryData: setConversationsQueryData, refetch: refetchConversations } = useQuery(
|
||||
getConversationsQuery,
|
||||
{}
|
||||
{},
|
||||
)[1];
|
||||
const {
|
||||
register,
|
||||
@ -65,7 +65,7 @@ const NewMessageArea: FunctionComponent<Props> = ({ recipient, onSend }) => {
|
||||
nextConversations[recipient] = [...nextConversations[recipient]!, message];
|
||||
return nextConversations;
|
||||
},
|
||||
{ refetch: false }
|
||||
{ refetch: false },
|
||||
);
|
||||
setValue("content", "");
|
||||
onSend?.();
|
||||
|
Reference in New Issue
Block a user