Skip to content

Commit

Permalink
docs: add plaintext language to code block to prevent layout breaks
Browse files Browse the repository at this point in the history
  • Loading branch information
87xie committed Sep 18, 2024
1 parent b93e116 commit 8a0d102
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/migrations/migrating-to-v5.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ const action = useMainStore((state) => {
The error message will be something like this:
```
```plaintext
Uncaught Error: Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits the number of nested updates to prevent infinite loops.
```
Expand Down

0 comments on commit 8a0d102

Please sign in to comment.