fix: change interval to 5ms per image on html preview

This commit is contained in:
Michal Szczepanski 2023-04-21 18:15:45 +02:00
parent cb2ab6809a
commit fd42a4424e

@ -162,7 +162,7 @@ export const HtmlPreviewComponent: FunctionComponent = () => {
const asyncEmbedContent = async (dto: ObjContentDto, el: Element): Promise<void> => {
return new Promise((resolve, reject) => {
fnSleep(10)
fnSleep(5)
.then(() => {
if (dto.type === ObjContentTypeDto.IFRAME) {
const iframe: ObjIframeContentDto = dto.content as ObjIframeContentDto;