Skip to content

Commit 53b80e1

Browse files
erincdustinrobertsoniv
authored andcommitted
fix(provider): explicitly set a return type
1 parent 20c7f69 commit 53b80e1

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
},
1111
"license": "MIT",
1212
"private": false,
13-
"version": "0.2.0",
13+
"version": "0.2.1",
1414
"type": "module",
1515
"files": [
1616
"package.json",

src/provider.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ import {
88
import {
99
FC,
1010
PropsWithChildren,
11+
ReactNode,
1112
useCallback,
1213
useEffect,
1314
useMemo,
@@ -32,7 +33,7 @@ const OrderCloudProvider: FC<PropsWithChildren<IOrderCloudProvider>> = ({
3233
configurationOverrides,
3334
currencyDefaults = { currencyCode: "USD", language: "en-US" },
3435
defaultErrorHandler,
35-
}) => {
36+
}): ReactNode => {
3637
const ocConfig = useMemo(() => {
3738
const { cookieOptions, ...rest } = configurationOverrides || {};
3839
return {

0 commit comments

Comments
 (0)