pull main

This commit is contained in:
Sabda Yagra 2025-07-08 15:35:09 +07:00
commit e047b97e58
2 changed files with 2 additions and 6 deletions

View File

@ -124,7 +124,7 @@ const columns: ColumnDef<any>[] = [
onClick={() => categoryDelete(row.original.id)} onClick={() => categoryDelete(row.original.id)}
className="hover:underline cursor-pointer hover:text-destructive" className="hover:underline cursor-pointer hover:text-destructive"
> >
Delete Delete
</a> </a>
</MenubarContent> </MenubarContent>
</MenubarMenu> </MenubarMenu>

View File

@ -10,11 +10,7 @@ import {
export async function login(data: any) { export async function login(data: any) {
const pathUrl = "signin"; const pathUrl = "signin";
const headers = { return httpPost(pathUrl, data);
accept: "application/json",
"content-type": "application/json",
};
return httpPost(pathUrl, headers, data);
} }
// export async function login(data: any, csrfToken: string) { // export async function login(data: any, csrfToken: string) {