pull main
This commit is contained in:
commit
e047b97e58
|
|
@ -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>
|
||||||
|
|
|
||||||
|
|
@ -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) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue