Skip to content
Snippets Groups Projects
Verified Commit 846a179b authored by Defendi Alberto's avatar Defendi Alberto
Browse files

Document.

parent 728d8586
No related branches found
No related tags found
2 merge requests!56Refined auth flow and new website pages.,!44New route type (RestrictedRoute) and better api calls.
import axios from 'axios';
/**
*
* Ask and set csrf cookie to server.
* @param setIsCookieFetched function to set the state isCookieFetched.
* @returns null
*/
export const fetchCookie = async (
setIsCookieFetched: React.Dispatch<React.SetStateAction<string>>,
): Promise<unknown> => {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment