Skip to content

Commit

Permalink
restore correct spell
Browse files Browse the repository at this point in the history
  • Loading branch information
btea authored Oct 22, 2021
1 parent e3bb221 commit 742170f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export function useSyncExternalStoreExtra<Snapshot, Selection>(
if (isEqual !== undefined) {
// Even if the selector has changed, the currently rendered selection
// may be equal to the new selection. We should attempt to reuse the
// current value if possible, to preserve downstream memorizations.
// current value if possible, to preserve downstream memoizations.
if (inst.hasValue) {
const currentSelection = inst.value;
if (isEqual(currentSelection, nextSelection)) {
Expand Down

0 comments on commit 742170f

Please sign in to comment.