← All changes
|
app/Hooks/Handlers/BlockEditors/SearchBarBlockEditor.php
+2
-2
1.6.4
→
1.7.0
View file →
| @@ -1,11 +1,11 @@ | ||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | 3 | namespace FluentCart\App\Hooks\Handlers\BlockEditors; |
| 4 | 4 | |
| 5 | +use FluentCart\App\Helpers\Helper; | |
| 5 | 6 | use FluentCart\App\Hooks\Handlers\ShortCodes\SearchBarShortCode; |
| 6 | 7 | use FluentCart\App\Services\Translations\TransStrings; |
| 7 | -use FluentCart\App\Vite; | |
| 8 | 8 | use FluentCart\Framework\Support\Arr; |
| 9 | 9 | |
| 10 | 10 | class SearchBarBlockEditor extends BlockEditor |
| 11 | 11 | { |
| @@ -34,9 +34,9 @@ | ||
| 34 | 34 | 'name' => static::getEditorName(), |
| 35 | 35 | 'title' => __('Product Search', 'fluent-cart'), |
| 36 | 36 | ], |
| 37 | 37 | 'fluent_cart_block_editor_asset' => [ |
| 38 | - 'placeholder_image' => Vite::getAssetUrl('images/placeholder.svg'), | |
| 38 | + 'placeholder_image' => Helper::getProductPlaceholderUrl(), | |
| 39 | 39 | ], |
| 40 | 40 | 'fluent_cart_block_translation' => TransStrings::blockStrings() |
| 41 | 41 | ]; |
| 42 | 42 | } |