Prettified Code!

This commit is contained in:
ethanweber authored and GitHub Action committed 2022-08-02 21:02:28 +00:00
1 parent 73fedc7593
commit 3e0654b435
10 files changed
+53 -52

No files matched your search

+1 -1
View File
@@ -12,7 +12,7 @@ export function subscribe_to_changes(selector_fn, fn) {
const previous = current;
current = selector_fn(store.getState());
if (previous !== current) {
fn(previous, current);
fn(previous, current);
}
};
store.subscribe(handleChange);