added CancelSubmit common element

This commit is contained in:
Carter 2024-12-06 12:26:26 -06:00
parent 374ba20f0c
commit c31712464b
5 changed files with 55 additions and 42 deletions

View file

@ -58,8 +58,6 @@ export default function ChatInput(props: Props) {
const { openSnack } = useSnackbar();
const [shift, setShift] = useState(false);
const theme = useTheme();
//const [attachmentDialogOpen, setAttachmentDialogOpen] = useState(false);
//const [uploadingFile, setUploadingFile] = useState(false);
const [uploadedFiles, setUploadedFiles] = useState<Map<string, string>>(new Map());
const clearEntry = () => {
@ -145,7 +143,7 @@ export default function ChatInput(props: Props) {
<Box
style={{
position: "absolute",
right: "10px",
right: theme.spacing(1),
top: "50%",
transform: "translateY(-50%)",
}}