Commit 4f8d5d1
committed
Create processor in useEffect in MarkdownHooks
In `MarkdownHooks` we don’t need to create the processor for every
render. We only need it inside the effect.1 parent 8545ebd commit 4f8d5d1
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
212 | 212 | | |
213 | 213 | | |
214 | 214 | | |
215 | | - | |
216 | 215 | | |
217 | 216 | | |
218 | 217 | | |
| |||
221 | 220 | | |
222 | 221 | | |
223 | 222 | | |
| 223 | + | |
224 | 224 | | |
225 | 225 | | |
226 | 226 | | |
| |||
0 commit comments