Skip to content

πŸ“¨ The ultimate agentic social media scheduling tool πŸ€–

fix: modal title

Nevo Davidf427991d13ae
diff --git a/apps/frontend/src/components/launches/add.provider.component.tsx b/apps/frontend/src/components/launches/add.provider.component.tsx
index 72e558e61..a72c4b1af 100644
--- a/apps/frontend/src/components/launches/add.provider.component.tsx
+++ b/apps/frontend/src/components/launches/add.provider.component.tsx
@@ -348,12 +348,14 @@ export const AddProviderComponent: FC<{
modal: 'bg-transparent text-textColor',
},
children: (
- <Web3Providers
- onComplete={(code, newState) => {
- window.location.href = `/integrations/social/${identifier}?code=${code}&state=${newState}`;
- }}
- nonce={url}
- />
+ <ModalWrapperComponent title="Web3 provider">
+ <Web3Providers
+ onComplete={(code, newState) => {
+ window.location.href = `/integrations/social/${identifier}?code=${code}&state=${newState}`;
+ }}
+ nonce={url}
+ />
+ </ModalWrapperComponent>
),
});
return;
@@ -384,7 +386,11 @@ export const AddProviderComponent: FC<{
classNames: {
modal: 'bg-transparent text-textColor',
},
- children: <UrlModal gotoUrl={gotoIntegration} />,
+ children: (
+ <ModalWrapperComponent title="URL">
+ <UrlModal gotoUrl={gotoIntegration} />
+ </ModalWrapperComponent>
+ ),
});
return;
}
@@ -397,11 +403,13 @@ export const AddProviderComponent: FC<{
modal: 'bg-transparent text-textColor',
},
children: (
- <CustomVariables
- identifier={identifier}
- gotoUrl={(url: string) => router.push(url)}
- variables={customFields}
- />
+ <ModalWrapperComponent title="Add Provider">
+ <CustomVariables
+ identifier={identifier}
+ gotoUrl={(url: string) => router.push(url)}
+ variables={customFields}
+ />
+ </ModalWrapperComponent>
),
});
return;
diff --git a/libraries/helpers/src/utils/strip.html.validation.ts b/libraries/helpers/src/utils/strip.html.validation.ts
index b099b38f9..97e4eb661 100644
--- a/libraries/helpers/src/utils/strip.html.validation.ts
+++ b/libraries/helpers/src/utils/strip.html.validation.ts
@@ -143,7 +143,6 @@ export const stripHtmlValidation = (
if (type === 'html') {
return striptags(convertMention(value, convertMentionFunction), [
'ul',
- 'ol',
'li',
'h1',
'h2',