Skip to content

Commit

Permalink
Fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
afsakar authored and github-actions[bot] committed Nov 21, 2023
1 parent 78b1fbf commit e81a40f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Actions/TranslatableAction.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
use Filament\Forms\Components\Field;
use Filament\Forms\Components\Select;
use Filament\Notifications\Notification;

class TranslatableAction
{
public static function make(): void
Expand Down Expand Up @@ -37,7 +38,7 @@ function (Field $component) {

$text = null;

if(class_exists('FilamentTiptapEditor\TiptapEditor') && $component instanceof \FilamentTiptapEditor\TiptapEditor) {
if (class_exists('FilamentTiptapEditor\TiptapEditor') && $component instanceof \FilamentTiptapEditor\TiptapEditor) {
match (data_get($component->getOutput(), 'value')) {
'json' => $text = tiptap_converter()->asJSON($component->getState()),
'text' => $text = tiptap_converter()->asText($component->getState()),
Expand Down

0 comments on commit e81a40f

Please sign in to comment.