mirror of
https://github.com/logto-io/logto.git
synced 2025-01-06 20:40:08 -05:00
chore(console): add appInsights for custom domain page (#4014)
This commit is contained in:
parent
690cd37e71
commit
4d10d3d582
1 changed files with 4 additions and 1 deletions
|
@ -1,9 +1,11 @@
|
||||||
|
import { withAppInsights } from '@logto/app-insights/react';
|
||||||
import { type Domain } from '@logto/schemas';
|
import { type Domain } from '@logto/schemas';
|
||||||
import { conditional } from '@silverhand/essentials';
|
import { conditional } from '@silverhand/essentials';
|
||||||
import useSWR from 'swr';
|
import useSWR from 'swr';
|
||||||
|
|
||||||
import FormCard from '@/components/FormCard';
|
import FormCard from '@/components/FormCard';
|
||||||
import FormField from '@/components/FormField';
|
import FormField from '@/components/FormField';
|
||||||
|
import PageMeta from '@/components/PageMeta';
|
||||||
import { customDomainSyncInterval } from '@/consts/custom-domain';
|
import { customDomainSyncInterval } from '@/consts/custom-domain';
|
||||||
import useApi, { type RequestError } from '@/hooks/use-api';
|
import useApi, { type RequestError } from '@/hooks/use-api';
|
||||||
import useSwrFetcher from '@/hooks/use-swr-fetcher';
|
import useSwrFetcher from '@/hooks/use-swr-fetcher';
|
||||||
|
@ -32,6 +34,7 @@ function TenantDomainSettings() {
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className={styles.container}>
|
<div className={styles.container}>
|
||||||
|
<PageMeta titleKey={['tenant_settings.title', 'tenant_settings.tabs.domains']} />
|
||||||
<FormCard
|
<FormCard
|
||||||
title="domain.custom.custom_domain"
|
title="domain.custom.custom_domain"
|
||||||
description="domain.custom.custom_domain_description"
|
description="domain.custom.custom_domain_description"
|
||||||
|
@ -65,4 +68,4 @@ function TenantDomainSettings() {
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
export default TenantDomainSettings;
|
export default withAppInsights(TenantDomainSettings);
|
||||||
|
|
Loading…
Reference in a new issue