You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/Maintenance.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -120,15 +120,15 @@ export default function renderExtra(prop: PropDescriptorWithFlow): React.ReactNo
120
120
if (!prop.type || !type) {
121
121
return null;
122
122
}
123
-
````
123
+
```
124
124
125
125
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.
126
126
127
127
This commit reverts the condition to what it was before the migration to TypeScript.
128
128
129
129
Fixes #1234
130
130
131
-
```
131
+
````
132
132
133
133
## Pull requests
134
134
@@ -178,4 +178,4 @@ Here’s a [good example of a changelog](https://github.com/styleguidist/react-s
178
178
179
179
- Information about pull request authors:<br> `(#1040 by @rafaesc)`
180
180
- Open Collective link at the very top:<br> `👋 **[Support Styleguidist](https://opencollective.com/styleguidist) on Open Collective** 👋`
0 commit comments