diff options
author | crupest <crupest@outlook.com> | 2023-09-21 23:49:12 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2023-09-21 23:49:12 +0800 |
commit | d477c7270c90b190ed82b13f48f39a05d83503d2 (patch) | |
tree | 572f74b2adc75247b9d1c9a8965e3de2559d4160 /FrontEnd/src/services | |
parent | a8a8385cd959e4d9d57b8a35381d2851049c07ff (diff) | |
download | timeline-d477c7270c90b190ed82b13f48f39a05d83503d2.tar.gz timeline-d477c7270c90b190ed82b13f48f39a05d83503d2.tar.bz2 timeline-d477c7270c90b190ed82b13f48f39a05d83503d2.zip |
Fix #1394.
Diffstat (limited to 'FrontEnd/src/services')
-rw-r--r-- | FrontEnd/src/services/alert.ts | 3 | ||||
-rw-r--r-- | FrontEnd/src/services/user.ts | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/FrontEnd/src/services/alert.ts b/FrontEnd/src/services/alert.ts index 0fa37848..e968af76 100644 --- a/FrontEnd/src/services/alert.ts +++ b/FrontEnd/src/services/alert.ts @@ -1,7 +1,6 @@ import pull from "lodash/pull"; -import { I18nText } from "~src/common"; -import { ThemeColor } from "~src/components/common"; +import { I18nText, ThemeColor } from "~src/components/common"; export interface AlertInfo { type?: ThemeColor; diff --git a/FrontEnd/src/services/user.ts b/FrontEnd/src/services/user.ts index 5f682a36..0fd363f5 100644 --- a/FrontEnd/src/services/user.ts +++ b/FrontEnd/src/services/user.ts @@ -2,12 +2,12 @@ import { useState, useEffect } from "react"; import { BehaviorSubject, Observable } from "rxjs"; import { AxiosError } from "axios"; -import { UiLogicError } from "~src/common"; import { setHttpToken, axios, HttpBadRequestError } from "~src/http/common"; import { getHttpTokenClient } from "~src/http/token"; import { getHttpUserClient, HttpUser, UserPermission } from "~src/http/user"; +import { UiLogicError } from "~src/components/common"; import { pushAlert } from "~src/components/alert"; interface IAuthUser extends HttpUser { |