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

Commit 7534d70

Browse files
committed
Account for undefined in type definitions
1 parent 0878b16 commit 7534d70

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

assets/js/shared/context/product-data-context.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ export const useProductDataContext = () => useContext( ProductDataContext );
7070

7171
interface ProductDataContextProviderProps {
7272
product: ProductResponseItem | null;
73-
children: JSX.Element | JSX.Element[];
73+
children: JSX.Element | JSX.Element[] | undefined;
7474
isLoading: boolean;
7575
}
7676

0 commit comments

Comments
 (0)