fixed notification drawer linking to team/id instead of teams/id

This commit is contained in:
Carter 2025-02-27 14:26:14 -06:00
parent 900b11582b
commit 6dab685c2d
5 changed files with 3 additions and 8 deletions

View file

@ -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});
}