Skip to content

Commit

Permalink
Format Code
Browse files Browse the repository at this point in the history
  • Loading branch information
awcodes authored and github-actions[bot] committed Nov 4, 2024
1 parent 34d0452 commit f168de1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Actions/MediaAction.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ protected function setUp(): void
->mountUsing(function (TiptapEditor $component, ComponentContainer $form, array $arguments) {
$source = $arguments['src'] !== ''
? $component->getDirectory() . Str::of($arguments['src'])
->after($component->getDirectory())
->after($component->getDirectory())
: null;

$form->fill([
Expand Down Expand Up @@ -100,10 +100,10 @@ protected function setUp(): void
TextInput::make('link_text')
->label(trans('filament-tiptap-editor::media-modal.labels.link_text'))
->required()
->visible(fn(callable $get) => $get('type') == 'document'),
->visible(fn (callable $get) => $get('type') == 'document'),
TextInput::make('alt')
->label(trans('filament-tiptap-editor::media-modal.labels.alt'))
->hidden(fn(callable $get) => $get('type') == 'document')
->hidden(fn (callable $get) => $get('type') == 'document')
->hintAction(
Action::make('alt_hint_action')
->label('?')
Expand Down

0 comments on commit f168de1

Please sign in to comment.