@dashadmin/dash-axios-hook 1.3.51 → 1.3.52

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dashadmin/dash-axios-hook",
3
- "version": "1.3.51",
3
+ "version": "1.3.52",
4
4
  "license": "MIT",
5
5
  "main": "dist/index.js",
6
6
  "devDependencies": {
@@ -25,7 +25,7 @@
25
25
  "typescript": "latest"
26
26
  },
27
27
  "dependencies": {
28
- "@mui/material": "^7.3.10",
28
+ "@mui/material": "^9.3.0",
29
29
  "@dashadmin/dash-constants": "workspace:*",
30
30
  "@dashadmin/dash-utils": "workspace:*"
31
31
  },
@@ -216,7 +216,7 @@ export const initAxios = (
216
216
  const useAxios = (options?: Partial<AxiosRequestConfig<any>>) => {
217
217
  const a = initAxios({
218
218
  baseURL: DASHAdminSystemConstants.system.ADMIN_API_URL,
219
- ...(options) && {...options}
219
+ ...(options && {...options})
220
220
  });
221
221
  return a;
222
222
  };
@@ -227,7 +227,7 @@ export const createAxiosInstance = (options?: Partial<AxiosRequestConfig<any>>)
227
227
  console.log('Base URL:', DASHAdminSystemConstants.system.ADMIN_API_URL);
228
228
  return initAxios({
229
229
  baseURL: DASHAdminSystemConstants.system.ADMIN_API_URL,
230
- ...(options) && {...options}
230
+ ...(options && {...options})
231
231
  });
232
232
  };
233
233