react-toolkits 2.11.9 → 2.11.10

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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # react-toolkits
2
2
 
3
+ ## 2.11.10
4
+
5
+ ### Patch Changes
6
+
7
+ - aea065d: fix: remove navigate
8
+
3
9
  ## 2.11.9
4
10
 
5
11
  ### Patch Changes
package/lib/index.js CHANGED
@@ -283,10 +283,6 @@ var init_axios = __esm({
283
283
  Interceptor = ({ children }) => {
284
284
  const state = useToolkitsStore((s) => s);
285
285
  const { notification } = App.useApp();
286
- if (!state.token) {
287
- window.location.replace(state.signInPath);
288
- return null;
289
- }
290
286
  if (requestInterceptorId) {
291
287
  axiosInstance.interceptors.request.eject(requestInterceptorId);
292
288
  }