Skip to content

Commit fc76aa8

Browse files
committed
revert #2784
1 parent 5bd0cc8 commit fc76aa8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web/pageComponents/shared/portableText/helpers/defaultSerializers.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ const block: BlockType = {
3434
h2: h2Heading,
3535
h3: h3Heading,
3636
normal: ({ children }: Props) => <Text>{children}</Text>,
37+
smallText: ({ children }: Props) => <Text size="small">{children}</Text>,
3738
}
3839

3940
const marks: MarkType = {
@@ -56,7 +57,6 @@ const defaultSerializers: PortableTextReactComponents = {
5657
block: {
5758
...defaultComponents.block,
5859
...block,
59-
smallText: ({ children }: Props) => <Text size="small">{children}</Text>,
6060
} as BlockType,
6161
marks: {
6262
...defaultComponents.marks,

0 commit comments

Comments
 (0)