Symbol | Explanation | Hint |
---|---|---|
\/ |
Right-leaning Either | Split ways, go one way or the other |
-\/ |
Left value of \/ |
- is on the left side |
\/- |
Right value of \/ |
- is on the right side |
>>= |
flatMap |
shove result into |
>> |
flatMap(_ => ..) |
shove into, but ignore the result |
|@| |
Applicatives into Tuple | Scream operator |
|+| |
Append via Monoid | + was taken |
`> | ` | fa.map(_ => b) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { toast } from "react-toastify"; | |
import axios from "axios"; | |
import { getCurrentUser } from "../helpers/auth.helper"; | |
import { dispatch } from "../../redux/root.store"; | |
import { logoutUser } from "../../redux/actions/auth/auth.actions"; | |
export const axiosBase = axios.create(); | |
axiosBase.interceptors.request.use(function(request) { | |
debugger; |