mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2026-07-24 00:43:29 +10:00
feat(all): upgrade to v3.4.0
This commit is contained in:
@@ -13,7 +13,7 @@ export type LoginParams = {
|
||||
};
|
||||
|
||||
export type LoginWithGoogleParams = {
|
||||
accessToken: string;
|
||||
credential: string;
|
||||
};
|
||||
|
||||
export type RegisterParams = {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import _axios, { AxiosError } from 'axios';
|
||||
import _axios from 'axios';
|
||||
import Router from 'next/router';
|
||||
|
||||
import { logout } from '@/store/auth/authSlice';
|
||||
@@ -27,7 +27,7 @@ axios.interceptors.request.use((config) => {
|
||||
|
||||
axios.interceptors.response.use(
|
||||
(response) => response,
|
||||
(error: AxiosError) => {
|
||||
(error) => {
|
||||
const { response } = error;
|
||||
|
||||
if (response) {
|
||||
|
||||
Reference in New Issue
Block a user