fix : tampilan

Deskripsi:
- input time pada kalender divisi
- api dokumen divisi >> blm selesai

No Issues
This commit is contained in:
2025-08-01 11:25:41 +08:00
parent e7ef09e9aa
commit 7c713cc6e0
5 changed files with 104 additions and 97 deletions

View File

@@ -28,7 +28,7 @@ export default function HeaderRightDocument({ path }: { path: string }) {
async function handleCreateFolder() {
try {
const hasil = await decryptToken(String(token?.current))
const response = await apiCreateFolderDocument({ user: hasil, name, path, idDivision: id })
const response = await apiCreateFolderDocument({ data: { user: hasil, name, path, idDivision: id } })
if (response.success) {
Toast.show({ type: 'small', text1: 'Berhasil membuat folder baru', })
dispatch(setUpdateDokumen(!update))