export const fetchHeaders = () => ({ "Content-Type": "application/json", "X-CSRF-Token": document.head .querySelector("[name=csrf-token]") ?.getAttribute("content") || "", });