1import axios from "axios"; 2 3export const getCsrf = async () => { 4 await axios.get("/sanctum/csrf-cookie", { 5 withCredentials: true, 6 }); 7};