diff --git a/refine-react/plugins/auth-provider-google/extend.js b/refine-react/plugins/auth-provider-google/extend.js index 7ef4329b..3fa91284 100644 --- a/refine-react/plugins/auth-provider-google/extend.js +++ b/refine-react/plugins/auth-provider-google/extend.js @@ -1,7 +1,7 @@ const base = { _app: { refineImports: [`AuthBindings`], - import: [`import axios, { AxiosRequestConfig } from "axios";`], + import: [`import axios from "axios";`], localImport: [ `import { Login } from "pages/login";`, `import { CredentialResponse } from "interfaces/google";`, diff --git a/refine-vite/plugins/auth-provider-google/extend.js b/refine-vite/plugins/auth-provider-google/extend.js index 505aea55..84fae3dd 100644 --- a/refine-vite/plugins/auth-provider-google/extend.js +++ b/refine-vite/plugins/auth-provider-google/extend.js @@ -1,7 +1,7 @@ const base = { _app: { refineImports: [`AuthBindings`], - import: [`import axios, { AxiosRequestConfig } from "axios";`], + import: [`import axios from "axios";`], localImport: [ `import { Login } from "./pages/login";`, `import { CredentialResponse } from "./interfaces/google";`,