getCsrfToken.tsx 149 B

12345
  1. import getCookie from 'sentry/utils/getCookie';
  2. export default function getCsrfToken() {
  3. return getCookie(window.csrfCookieName ?? 'sc') ?? '';
  4. }