Skip to content

Commit

Permalink
Replace attribute setter with setAttribute method
Browse files Browse the repository at this point in the history
  • Loading branch information
bvaughn committed Aug 14, 2024
1 parent d60abfe commit 832344b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react-resizable-panels/src/utils/cursor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ export function setGlobalCursorStyle(

const nonce = getNonce();
if (nonce) {
styleElement.nonce = nonce;
styleElement.setAttribute("nonce", nonce);
}

document.head.appendChild(styleElement);
Expand Down

0 comments on commit 832344b

Please sign in to comment.