fix(core): update
This commit is contained in:
		| @@ -42,8 +42,7 @@ const addOpenGraphProperty = async ( | |||||||
|   contentArg: string |   contentArg: string | ||||||
| ): Promise<Element> => { | ): Promise<Element> => { | ||||||
|   const openGraphElement = document.createElement('meta'); |   const openGraphElement = document.createElement('meta'); | ||||||
|   const anonGE: any = openGraphElement; |   openGraphElement.setAttribute('property', propertyNameArg); | ||||||
|   anonGE.property = propertyNameArg; |  | ||||||
|   openGraphElement.content = contentArg; |   openGraphElement.content = contentArg; | ||||||
|   document.getElementsByTagName('head')[0].appendChild(openGraphElement); |   document.getElementsByTagName('head')[0].appendChild(openGraphElement); | ||||||
|   return openGraphElement; |   return openGraphElement; | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user