refactor: simplify DesignerPreview component by removing unused props and events
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user