unit-logging

This commit is contained in:
Ben Warzeski
2023-04-10 11:09:16 -04:00
parent 7317c9424a
commit c341eb7d22

View File

@@ -220,6 +220,7 @@ const Unit = ({
scrolling="no"
referrerPolicy="origin"
onLoad={() => {
console.log({ unit });
// onLoad *should* only fire after everything in the iframe has finished its own load events.
// Which means that the plugin.resize message (which calls setHasLoaded above) will have fired already
// for a successful load. If it *has not fired*, we are in an error state. For example, the backend