fixed notification drawer linking to team/id instead of teams/id
This commit is contained in:
parent
900b11582b
commit
6dab685c2d
5 changed files with 3 additions and 8 deletions
|
|
@ -79,10 +79,7 @@ export default function HTTPProvider(props: Props) {
|
|||
|
||||
function get<T>(url: string, spreadOptions?: AxiosRequestConfig): Promise<AxiosResponse<T>> {
|
||||
if (isTokenExpired(token)) {
|
||||
console.log("token expired")
|
||||
loginWithPopup()
|
||||
} else {
|
||||
console.log("token is fine")
|
||||
}
|
||||
return axios.get(url, {...defaultOptions(), ...spreadOptions});
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue