← All changes
|
app/Hooks/Handlers/BlockEditors/MiniCartBlockEditor.php
+1
-2
1.6.3
→
1.7.0
View file →
| @@ -12,9 +12,8 @@ | ||
| 12 | 12 | use FluentCart\App\Services\Renderer\CartDrawerRenderer; |
| 13 | 13 | use FluentCart\App\Services\Renderer\MiniCartRenderer; |
| 14 | 14 | use FluentCart\App\Services\Renderer\ProductRenderer; |
| 15 | 15 | use FluentCart\App\Services\Translations\TransStrings; |
| 16 | -use FluentCart\App\Vite; | |
| 17 | 16 | use FluentCart\Framework\Support\Arr; |
| 18 | 17 | |
| 19 | 18 | class MiniCartBlockEditor extends BlockEditor |
| 20 | 19 | { |
| @@ -73,9 +72,9 @@ | ||
| 73 | 72 | 'slug' => $this->slugPrefix, |
| 74 | 73 | 'name' => static::getEditorName(), |
| 75 | 74 | 'title' => __('Mini Cart', 'fluent-cart'), |
| 76 | 75 | 'description' => __('Display a button for shoppers to quickly view their cart.', 'fluent-cart'), |
| 77 | - 'placeholder_image' => Vite::getAssetUrl('images/placeholder.svg'), | |
| 76 | + 'placeholder_image' => Helper::getProductPlaceholderUrl(), | |
| 78 | 77 | ], |
| 79 | 78 | 'fluent_cart_block_translation' => TransStrings::blockStrings(), |
| 80 | 79 | ]; |
| 81 | 80 | } |