Comprehensive review changes

This commit is contained in:
seavor 2026-04-20 18:58:40 -05:00
parent 3aa8c654cc
commit 6074d9d6e4
143 changed files with 2661 additions and 1535 deletions

View file

@ -1,14 +1,17 @@
import React from 'react';
import { Form } from 'react-final-form'
import { Form } from 'react-final-form';
import { InputAction } from '@app/components';
const SayMessage = ({ onSubmit }) => (
interface SayMessageProps {
onSubmit: (args: { message: string }) => void;
}
const SayMessage = ({ onSubmit }: SayMessageProps) => (
<Form onSubmit={onSubmit}>
{({ handleSubmit, form }) => (
<form onSubmit={e => {
handleSubmit(e)
form.restart()
handleSubmit(e);
form.restart();
}}>
<InputAction action="Send" label="Chat" name="message" />
</form>