[WEB-2444] improvement: performance improvement for useOutsideClickDetector and usePeekOverviewOutsideClickDetector. (#5595)
* [WEB-2444] improvement: performace improvement for `useOutsideClickDetector` and `usePeekOverviewOutsideClickDetector`. * Move outside click detector to plane helpers package. * chore: remove plane helpers yarn.lock
This commit is contained in:
parent
441385fc95
commit
b2533b94ce
53 changed files with 148 additions and 198 deletions
|
|
@ -3,6 +3,7 @@ import set from "lodash/set";
|
|||
import { action, makeObservable, observable, runInAction, computed } from "mobx";
|
||||
// types
|
||||
import { IUser } from "@plane/types";
|
||||
import { TUserPermissions } from "@plane/types/src/enums";
|
||||
// constants
|
||||
// helpers
|
||||
import { API_BASE_URL } from "@/helpers/common.helper";
|
||||
|
|
@ -16,7 +17,6 @@ import { IAccountStore } from "@/store/user/account.store";
|
|||
import { ProfileStore, IUserProfileStore } from "@/store/user/profile.store";
|
||||
import { IUserPermissionStore, UserPermissionStore } from "./permissions.store";
|
||||
import { IUserSettingsStore, UserSettingsStore } from "./settings.store";
|
||||
import { TUserPermissions } from "@plane/types/src/enums";
|
||||
|
||||
type TUserErrorStatus = {
|
||||
status: string;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue