0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2025-02-24 22:05:56 -05:00

refactor(console): reorg application details page codes (#5248)

This commit is contained in:
Xiao Yijun 2024-01-17 16:01:46 +08:00 committed by GitHub
parent 61e5d7f21c
commit c4d943cc8f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
24 changed files with 14 additions and 14 deletions

View file

@ -21,7 +21,7 @@ import FormField from '@/ds-components/FormField';
import TextLink from '@/ds-components/TextLink';
import useCustomDomain from '@/hooks/use-custom-domain';
import * as styles from '../index.module.scss';
import * as styles from './index.module.scss';
type Props = {
app: Application;

View file

@ -10,7 +10,7 @@ import { useAppGuideMetadata } from '@/components/Guide/hooks';
import IconButton from '@/ds-components/IconButton';
import Spacer from '@/ds-components/Spacer';
import AppGuide from '../AppGuide';
import AppGuide from '../../components/AppGuide';
import * as styles from './index.module.scss';

View file

@ -27,16 +27,16 @@ import useTenantPathname from '@/hooks/use-tenant-pathname';
import { applicationTypeI18nKey } from '@/types/applications';
import { trySubmitSafe } from '@/utils/form';
import Branding from '../components/Branding';
import EndpointsAndCredentials from '../components/EndpointsAndCredentials';
import GuideDrawer from '../components/GuideDrawer';
import MachineLogs from '../components/MachineLogs';
import MachineToMachineApplicationRoles from '../components/MachineToMachineApplicationRoles';
import Permissions from '../components/Permissions';
import RefreshTokenSettings from '../components/RefreshTokenSettings';
import Settings from '../components/Settings';
import * as styles from '../index.module.scss';
import { type ApplicationForm, applicationFormDataParser } from '../utils';
import Branding from './Branding';
import EndpointsAndCredentials from './EndpointsAndCredentials';
import GuideDrawer from './GuideDrawer';
import MachineLogs from './MachineLogs';
import MachineToMachineApplicationRoles from './MachineToMachineApplicationRoles';
import Permissions from './Permissions';
import RefreshTokenSettings from './RefreshTokenSettings';
import Settings from './Settings';
import * as styles from './index.module.scss';
import { type ApplicationForm, applicationFormDataParser } from './utils';
type Props = {
data: ApplicationResponse;

View file

@ -4,7 +4,7 @@ import Modal from 'react-modal';
import ModalHeader from '@/components/Guide/ModalHeader';
import * as modalStyles from '@/scss/modal.module.scss';
import AppGuide from '../AppGuide';
import AppGuide from '../components/AppGuide';
import * as styles from './index.module.scss';

View file

@ -10,7 +10,7 @@ import type { RequestError } from '@/hooks/use-api';
import useTenantPathname from '@/hooks/use-tenant-pathname';
import ApplicationDetailsContent from './ApplicationDetailsContent';
import GuideModal from './components/GuideModal';
import GuideModal from './GuideModal';
function ApplicationDetails() {
const { id, guideId } = useParams();