File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
packages/feedback/src/widget Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ interface IconReturn {
15
15
* Feedback Icon
16
16
*/
17
17
export function Icon ( { color } : Props ) : IconReturn {
18
- const cENS = document . createElementNS ;
18
+ const cENS = document . createElementNS . bind ( document ) ;
19
19
const svg = setAttributesNS ( cENS ( XMLNS , 'svg' ) , {
20
20
width : `${ SIZE } ` ,
21
21
height : `${ SIZE } ` ,
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ interface IconReturn {
16
16
* Success Icon (checkmark)
17
17
*/
18
18
export function SuccessIcon ( { color } : Props ) : IconReturn {
19
- const cENS = document . createElementNS ;
19
+ const cENS = document . createElementNS . bind ( document ) ;
20
20
const svg = setAttributesNS ( cENS ( XMLNS , 'svg' ) , {
21
21
width : `${ WIDTH } ` ,
22
22
height : `${ HEIGHT } ` ,
You can’t perform that action at this time.
0 commit comments