From 5bf885c06010d1fe32b5f599abec38fae5e41b26 Mon Sep 17 00:00:00 2001 From: m5r Date: Fri, 20 May 2022 00:55:02 +0200 Subject: [PATCH] send message to recipient --- app/features/core/components/footer.tsx | 4 +- app/features/core/hooks/use-session.ts | 4 +- .../messages/actions/messages.$recipient.tsx | 61 ++++++++++++ .../messages/components/conversation.tsx | 25 ++++- .../messages/components/new-message-area.tsx | 92 +++++-------------- app/routes/__app.tsx | 20 ++-- app/routes/__app/messages.$recipient.tsx | 30 +++--- app/utils/auth.server.ts | 12 ++- 8 files changed, 147 insertions(+), 101 deletions(-) create mode 100644 app/features/messages/actions/messages.$recipient.tsx diff --git a/app/features/core/components/footer.tsx b/app/features/core/components/footer.tsx index d96692b..44e52b9 100644 --- a/app/features/core/components/footer.tsx +++ b/app/features/core/components/footer.tsx @@ -6,8 +6,8 @@ import clsx from "clsx"; export default function Footer() { return (