-
Notifications
You must be signed in to change notification settings - Fork 986
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix re-frame warning about fx being nil (#20175)
Fixes a warning thrown by re-frame in the event :wallet/blockchain-status-changed. Here's a simplified example that generates the same warning. ```clojure (rf/reg-event-fx :user/fx-warning (fn [] {:fx nil})) ;; Prints warning re-frame: ":fx" effect expects a seq, but was given null (rf/dispatch [:user/fx-warning]) ```
- Loading branch information
Showing
2 changed files
with
5 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters