chore: do not handle iframe error

This commit is contained in:
Shivam Mishra
2024-10-04 15:31:45 +05:30
parent 83100b8f60
commit 29a7ff9202
@@ -23,11 +23,11 @@ export default {
// Once loaded, the loading state is hidden
this.isLoading = false;
},
handleIframeError() {
// Hide the loading state and show the empty state when an error occurs
this.isLoading = false;
this.showEmptyState = true;
},
// handleIframeError() {
// // Hide the loading state and show the empty state when an error occurs
// this.isLoading = false;
// this.showEmptyState = true;
// },
},
};
</script>
@@ -39,7 +39,6 @@ export default {
:src="url"
class="absolute w-full h-full top-0 left-0"
@load="handleIframeLoad"
@error="handleIframeError"
/>
<ArticleSkeletonLoader
v-if="isLoading"