email actions + sent list + action list + archive list + trash list

This commit is contained in:
hamid zarghami
2025-07-12 16:01:17 +03:30
parent fac9159ec0
commit 663dd1a9db
45 changed files with 1947 additions and 326 deletions
+1 -4
View File
@@ -11,7 +11,7 @@ import Button from '../Button'
import Select from '../Select'
import UploadButton from '../UploadButton'
import { toast } from '../Toast'
import { ErrorType } from '@/helpers/types'
const NewMessage: FC = () => {
@@ -188,9 +188,6 @@ const NewMessage: FC = () => {
handleClose()
resetForm()
},
onError: (error: ErrorType) => {
toast(error.response?.data?.error.message[0], 'error')
},
onSettled: () => {
// Reset loading states
setIsSending(false)