refactor: update types import path

This commit is contained in:
lemmyMwaura
2024-07-29 19:41:02 +03:00
parent 7239158e7f
commit d8169a866d
8 changed files with 8 additions and 8 deletions
@@ -24,7 +24,7 @@ import {
useRevokeIdentityTokenAuthToken,
useRevokeIdentityUniversalAuthClientSecret} from "@app/hooks/api";
import { usePopUp } from "@app/hooks/usePopUp";
import { TabSections } from "@app/types";
import { TabSections } from"@app/views/Org/types";
import { IdentityAuthMethodModal } from "../MembersPage/components/OrgIdentityTab/components/IdentitySection/IdentityAuthMethodModal";
import { IdentityModal } from "../MembersPage/components/OrgIdentityTab/components/IdentitySection/IdentityModal";
@@ -10,7 +10,7 @@ import { useWorkspace } from "@app/context";
import { IdentityMembership } from "@app/hooks/api/identities/types";
import { ProjectMembershipRole } from "@app/hooks/api/roles/types";
import { UsePopUpState } from "@app/hooks/usePopUp";
import { TabSections } from "@app/types";
import { TabSections } from "@app/views/Org/types";
type Props = {
membership: IdentityMembership;
@@ -5,7 +5,7 @@ import { useEffect, useState } from 'react';
import { Tab, TabList, TabPanel, Tabs } from "@app/components/v2";
import { OrgPermissionActions, OrgPermissionSubjects } from "@app/context";
import { withPermission } from "@app/hoc";
import { isTabSection, TabSections } from "@app/types";
import { isTabSection, TabSections } from "@app/views/Org/types";;
import { OrgIdentityTab, OrgMembersTab, OrgRoleTabSection } from "./components";
+1 -1
View File
@@ -19,7 +19,7 @@ import { OrgPermissionActions, OrgPermissionSubjects, useOrganization } from "@a
import { withPermission } from "@app/hoc";
import { useDeleteOrgRole, useGetOrgRole } from "@app/hooks/api";
import { usePopUp } from "@app/hooks/usePopUp";
import { TabSections } from "@app/types";
import { TabSections } from "@app/views/Org/types";
import { RoleDetailsSection, RoleModal, RolePermissionsSection } from "./components";
+1 -1
View File
@@ -29,7 +29,7 @@ import {
useUpdateOrgMembership
} from "@app/hooks/api";
import { usePopUp } from "@app/hooks/usePopUp";
import { TabSections } from "@app/types";
import { TabSections } from "@app/views/Org/types";
import { UserDetailsSection, UserOrgMembershipModal, UserProjectsSection } from "./components";
@@ -9,7 +9,7 @@ import { useWorkspace } from "@app/context";
import { ProjectMembershipRole } from "@app/hooks/api/roles/types";
import { TWorkspaceUser } from "@app/hooks/api/types";
import { UsePopUpState } from "@app/hooks/usePopUp";
import { TabSections } from "@app/types";
import { TabSections } from "@app/views/Org/types";;
type Props = {
membership: TWorkspaceUser;