added CancelSubmit common element
This commit is contained in:
parent
374ba20f0c
commit
c31712464b
5 changed files with 55 additions and 42 deletions
|
|
@ -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%)",
|
||||
}}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue