Closed Platonn closed 5 years ago
In YotpoService we use the implicit global document which may break SSR. Instead, we should use the WindowRef wrapper object and it's document property.
YotpoService
document
WindowRef
Muhammad: Fix ready. Waiting for access to generate PR.
PR https://github.com/SAP/cloud-commerce-spartacus-storefront/pull/4753
QA Steps required please.
In
YotpoService
we use the implicit globaldocument
which may break SSR. Instead, we should use theWindowRef
wrapper object and it'sdocument
property.