debug: csrf cookie
This commit is contained in:
parent
6e802d2402
commit
1ec5b2f09c
3 changed files with 3 additions and 2 deletions
|
|
@ -23,6 +23,7 @@ const STATUS_BUTTONS: { status: UserTitleStatus; icon: React.ReactNode; label: s
|
|||
export function TitleStatusControls({ titleId }: { titleId: number }) {
|
||||
const [cookies] = useCookies(['xsrf_token']);
|
||||
const xsrfToken = cookies['xsrf_token'] || null;
|
||||
console.log("xsrf_token: " + xsrfToken)
|
||||
|
||||
const [currentStatus, setCurrentStatus] = useState<UserTitleStatus | null>(null);
|
||||
const [loading, setLoading] = useState(false);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue