"use client";

import { useChat } from "@/providers/chat-provider";

import { MessageInput } from "..";

import styles from "./MessageInputWrapper.module.scss";

export default function MessageInputWrapper() {
  const { send } = useChat();

  return (
    <div className={styles.container}>
      <div className={styles.inputWrapper}>
        <MessageInput onSend={send} />
      </div>
    </div>
  );
}
