Skip to content
This repository has been archived by the owner on Feb 23, 2024. It is now read-only.

Commit

Permalink
Update type of children on CartEventsProvider
Browse files Browse the repository at this point in the history
  • Loading branch information
opr committed Dec 1, 2022
1 parent 5be194d commit b4707fb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export const useCartEventsContext = () => {
export const CartEventsProvider = ( {
children,
}: {
children: React.ReactChildren;
children: React.ReactNode;
} ): JSX.Element => {
const [ observers, observerDispatch ] = useReducer( emitReducer, {} );
const currentObservers = useRef( observers );
Expand Down

0 comments on commit b4707fb

Please sign in to comment.