Skip to content

Commit 9114b4a

Browse files
authored
docs: Fix code block formatting in Maintenance.md (#1908)
1 parent 54be33b commit 9114b4a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/Maintenance.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -120,15 +120,15 @@ export default function renderExtra(prop: PropDescriptorWithFlow): React.ReactNo
120120
if (!prop.type || !type) {
121121
return null;
122122
}
123-
````
123+
```
124124
125125
Unfortunately, this extra condition has resulted in this method always returning `null` for a Flow typed prop as `prop.type` is always `null` as `prop.type` is never set.
126126
127127
This commit reverts the condition to what it was before the migration to TypeScript.
128128
129129
Fixes #1234
130130
131-
```
131+
````
132132

133133
## Pull requests
134134

@@ -178,4 +178,4 @@ Here’s a [good example of a changelog](https://github.com/styleguidist/react-s
178178

179179
- Information about pull request authors:<br> `(#1040 by @rafaesc)`
180180
- Open Collective link at the very top:<br> `👋 **[Support Styleguidist](https://opencollective.com/styleguidist) on Open Collective** 👋`
181-
```
181+

0 commit comments

Comments
 (0)