refactor: simplify DesignerPreview component by removing unused props and events

This commit is contained in:
Frank John Begornia
2025-11-20 21:26:22 +08:00
parent fa0d501063
commit 1dd8493689
3 changed files with 10 additions and 121 deletions

View File

@@ -381,16 +381,9 @@ const handleCheckout = async () => {
/>
<DesignerPreview
:preview-url="previewUrl"
:template-label="templateLabel"
:production-pixels="productionPixelSize"
:is-exporting="isExporting || isDesignLoading"
:is-checkout-pending="isCheckoutPending"
:checkout-price="DESIGN_PRICE_USD"
:checkout-error="checkoutError"
@export="handleExport"
@download-preview="downloadPreview"
@download-production="downloadProduction"
@checkout="handleCheckout"
/>
</div>