getCsrfToken.tsx 136 B

12345
  1. import Cookies from 'js-cookie';
  2. export default function getCsrfToken() {
  3. return Cookies.get(window.csrfCookieName ?? 'sc') ?? '';
  4. }