Skip to content

Commit 5546bbe

Browse files
chore(components): remove OldText component
1 parent b3ff4a2 commit 5546bbe

File tree

2 files changed

+7
-14
lines changed

2 files changed

+7
-14
lines changed

src/components/OldText.tsx

Lines changed: 0 additions & 13 deletions
This file was deleted.

src/pages/roadmap/vision.tsx

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ import Emoji from "@/components/Emoji"
1616
import FeedbackCard from "@/components/FeedbackCard"
1717
import InfoBanner from "@/components/InfoBanner"
1818
import MainArticle from "@/components/MainArticle"
19-
import Text from "@/components/OldText"
2019
import PageHero, {
2120
type ContentType as PageHeroContent,
2221
} from "@/components/PageHero"
@@ -37,6 +36,13 @@ import { getRequiredNamespacesForPage } from "@/lib/utils/translations"
3736

3837
import oldship from "@/public/images/upgrades/oldship.png"
3938

39+
/**
40+
* TODO: Consider replacing this with a global style for the `p` element
41+
*/
42+
const Text = (props: Omit<ComponentProps<"p">, "className">) => (
43+
<p className="mb-[1.45rem]" {...props} />
44+
)
45+
4046
const Page = (props: ChildOnlyProp) => (
4147
<VStack className="w-full gap-0" {...props} asChild>
4248
<MainArticle {...props} />

0 commit comments

Comments
 (0)