diff --git a/client/components/modules/hubs/HubFormCard/HubFormCard.module.scss b/client/components/modules/hubs/HubFormCard/HubFormCard.module.scss index 426f6f42..a5e77948 100644 --- a/client/components/modules/hubs/HubFormCard/HubFormCard.module.scss +++ b/client/components/modules/hubs/HubFormCard/HubFormCard.module.scss @@ -103,10 +103,3 @@ border-top: 2px solid $color-border-1; padding: 24px 32px; } - -.warning { - background: $color-semantic-warning; - margin: 0 32px; - padding: 24px; - border-radius: 20px; -} diff --git a/client/components/modules/hubs/HubFormCard/HubFormCard.tsx b/client/components/modules/hubs/HubFormCard/HubFormCard.tsx index 9a2be9f1..d1b05003 100644 --- a/client/components/modules/hubs/HubFormCard/HubFormCard.tsx +++ b/client/components/modules/hubs/HubFormCard/HubFormCard.tsx @@ -18,6 +18,7 @@ import { HubT } from 'types/General'; import SecretCopy from '@Shared/SecretCopy/SecretCopy'; import { CookiesE } from 'types/Cookies'; import { getCookie } from 'cookies-next'; +import Warning from '@Shared/Warning/Warning'; type HubFormCardPropsT = { hub: HubT; @@ -203,29 +204,6 @@ const HubFormCard = ({ hub: _hub, classProp = '' }: HubFormCardPropsT) => { return true; }; - const Warning = () => ( -
- Due to temporary system instability, customizing a subdomain or - connecting a custom domain may impact Spoke and the Admin panel. If you - experience any issues with these features, please contact us. -
- -