From 9c4bf232a5186e5330be6eec6b20c7116010deb2 Mon Sep 17 00:00:00 2001 From: WaDadidou Date: Mon, 16 Dec 2024 17:59:11 -0500 Subject: [PATCH] fix(article-md): Use new cpt ScreenTitle --- packages/screens/FeedNewArticle/FeedNewArticleScreen.tsx | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/packages/screens/FeedNewArticle/FeedNewArticleScreen.tsx b/packages/screens/FeedNewArticle/FeedNewArticleScreen.tsx index 8abfa7e6f..fb5ad27ec 100644 --- a/packages/screens/FeedNewArticle/FeedNewArticleScreen.tsx +++ b/packages/screens/FeedNewArticle/FeedNewArticleScreen.tsx @@ -1,5 +1,5 @@ import pluralize from "pluralize"; -import { useRef, useState } from "react"; +import React, { useRef, useState } from "react"; import { FormProvider, useForm } from "react-hook-form"; import { ScrollView, useWindowDimensions, View } from "react-native"; import { useSelector } from "react-redux"; @@ -11,6 +11,7 @@ import priceSVG from "@/assets/icons/price.svg"; import { BrandText } from "@/components/BrandText"; import { SVG } from "@/components/SVG"; import { ScreenContainer } from "@/components/ScreenContainer"; +import { ScreenTitle } from "@/components/ScreenContainer/ScreenTitle"; import { WalletStatusBox } from "@/components/WalletStatusBox"; import { TertiaryBox } from "@/components/boxes/TertiaryBox"; import { CustomPressable } from "@/components/buttons/CustomPressable"; @@ -45,7 +46,7 @@ import { neutralFF, secondaryColor, } from "@/utils/style/colors"; -import { fontSemibold13, fontSemibold20 } from "@/utils/style/fonts"; +import { fontSemibold13 } from "@/utils/style/fonts"; import { layout, RESPONSIVE_BREAKPOINT_S, @@ -211,7 +212,7 @@ export const FeedNewArticleScreen: ScreenFC<"FeedNewArticle"> = () => { responsive mobileTitle="NEW ARTICLE" fullWidth - headerChildren={New Article} + headerChildren={New Article} onBackPress={navigateBack} footerChildren noMargin