Skip to content

Commit

Permalink
fix errors in observer components getting swallowed
Browse files Browse the repository at this point in the history
  • Loading branch information
jmeistrich committed Oct 22, 2023
1 parent 9dbeb8b commit 5394aa4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/react/useSelector.ts
Original file line number Diff line number Diff line change
Expand Up @@ -137,8 +137,8 @@ export function useSelector<T>(selector: Selector<T>, options?: UseSelectorOptio
(err as Error).message
}`,
);
throw err;
}
throw err;
}

return value;
Expand Down

0 comments on commit 5394aa4

Please sign in to comment.