Skip to content

Commit

Permalink
docs: Fix code block formatting in Maintenance.md (#1908)
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewkshim committed Jan 10, 2022
1 parent 54be33b commit 9114b4a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/Maintenance.md
Expand Up @@ -120,15 +120,15 @@ export default function renderExtra(prop: PropDescriptorWithFlow): React.ReactNo
if (!prop.type || !type) {
return null;
}
````
```
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.
This commit reverts the condition to what it was before the migration to TypeScript.
Fixes #1234
```
````

## Pull requests

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

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

0 comments on commit 9114b4a

Please sign in to comment.