From 9970fd272092f08338819eba36cbcf1ca2b88f7d Mon Sep 17 00:00:00 2001 From: Josh Story Date: Sat, 12 Aug 2023 11:12:14 -0700 Subject: [PATCH] No longer incorrectly set referrerPolicy from preload integrity value --- packages/react-dom-bindings/src/client/ReactFiberConfigDOM.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/react-dom-bindings/src/client/ReactFiberConfigDOM.js b/packages/react-dom-bindings/src/client/ReactFiberConfigDOM.js index 1149e442f98ea..b08b528713d02 100644 --- a/packages/react-dom-bindings/src/client/ReactFiberConfigDOM.js +++ b/packages/react-dom-bindings/src/client/ReactFiberConfigDOM.js @@ -2872,7 +2872,7 @@ function adoptPreloadPropsForScript( if (scriptProps.referrerPolicy == null) scriptProps.referrerPolicy = preloadProps.referrerPolicy; if (scriptProps.integrity == null) - scriptProps.referrerPolicy = preloadProps.integrity; + scriptProps.integrity = preloadProps.integrity; } type KeyedTagCache = Map>;