Skip to content

Commit ccb72f8

Browse files
authored
Merge pull request basarat#469 from tienpham94/patch-2
Update react.md
2 parents 7b5cead + 893445c commit ccb72f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/jsx/react.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ const foo = <T extends {}>(x: T) => x;
151151
```
152152
153153
### React Tip: Strongly Typed Refs
154-
You basically initialize a variable as a union of the ref and `null` and then initiazlie it as as callback e.g.
154+
You basically initialize a variable as a union of the ref and `null` and then initialize it as as callback e.g.
155155
156156
```ts
157157
class Example extends React.Component {

0 commit comments

Comments
 (0)