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

Commit

Permalink
Account for undefined in type definitions
Browse files Browse the repository at this point in the history
  • Loading branch information
nerrad committed May 23, 2023
1 parent 51b8cf6 commit dfd77df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assets/js/shared/context/product-data-context.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ export const useProductDataContext = () => useContext( ProductDataContext );

interface ProductDataContextProviderProps {
product: ProductResponseItem | null;
children: JSX.Element | JSX.Element[];
children: JSX.Element | JSX.Element[] | undefined;
isLoading: boolean;
}

Expand Down

0 comments on commit dfd77df

Please sign in to comment.