I have a method that gets data from local storage, and posts the data to the back end using axios.
export const refreshAuth = () => new Promise((resolve, re