Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat:チャット画面ベース作成 #13

Merged
merged 2 commits into from
Feb 16, 2025

Conversation

mutyuki
Copy link
Collaborator

@mutyuki mutyuki commented Feb 15, 2025

issueリンク

#7

概要

<p>自分で文字を入力でき、エンターキーを押すか紙飛行機ボタンを押すと画面に自分の文字が描画されて
返信をはいorいいえのどちらかをしてくれるチャットを/chatに作成した</p>

プレビュー

Screen Recording 2025-02-15 at 16 32 23

@mutyuki mutyuki requested a review from crcrworks February 15, 2025 07:44
type Props = { bottomRef: RefObject<HTMLDivElement | null> };

export const MessageContainer = (props: Props) => {
const [messages, _] = useAtom(messagesAtom);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TSで変数使わない場合はアンダーバーじゃなくて省略できるのでそっちを使ったほうが良い

const [message,] = useAtom(messageAtom);

@mutyuki mutyuki requested a review from crcrworks February 16, 2025 09:30
@crcrworks crcrworks merged commit 72027a9 into main Feb 16, 2025
@crcrworks crcrworks deleted the feature/occ-28-create-chat-base branch February 16, 2025 09:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants