We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c0cd8f8 + a79076f commit 37c236cCopy full SHA for 37c236c
README.md
@@ -689,11 +689,11 @@ if (fsm.state === 'fetching' && isEmpty(listNode)) {
689
690
**Good**:
691
```javascript
692
-function shouldShowSpinner() {
+function shouldShowSpinner(fsm, listNode) {
693
return fsm.state === 'fetching' && isEmpty(listNode);
694
}
695
696
-if (shouldShowSpinner()) {
+if (shouldShowSpinner(fsmInstance, listNodeInstance)) {
697
// ...
698
699
```
0 commit comments