Skip to content

Commit

Permalink
fix: enforce values
Browse files Browse the repository at this point in the history
  • Loading branch information
nbierdeman committed Mar 20, 2024
1 parent acc5123 commit faa6278
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/PayPalScriptProvider.tsx
Expand Up @@ -25,10 +25,10 @@ export const PayPalScriptProvider: FC<ScriptProviderProps> = ({
}: ScriptProviderProps) => {
const [state, dispatch] = useReducer(scriptReducer, {
options: {
...options,
[SDK_SETTINGS.DATA_JS_SDK_LIBRARY]: SDK_SETTINGS.DATA_LIBRARY_VALUE,
[SDK_SETTINGS.DATA_SDK_INTEGRATION_SOURCE]:
SDK_SETTINGS.DATA_LIBRARY_VALUE,
...options,
[SCRIPT_ID]: `${getScriptID(options)}`,
},
loadingStatus: deferLoading
Expand Down

0 comments on commit faa6278

Please sign in to comment.