Update adr006-avoid-react-fc.md (#2649)

* Update adr006-avoid-react-fc.md

* Update adr006-avoid-react-fc.md
This commit is contained in:
Stefan Ålund
2020-09-29 09:47:06 +02:00
committed by GitHub
parent 0121294f7c
commit 04f939e370
@@ -25,7 +25,7 @@ should be avoided in our codebase when adding new code.
Here is an example:
```ts
```typescript
/* Avoid this: */
type BadProps = { text: string };
const BadComponent: FC<BadProps> = ({ text, children }) => (