Skip to content

Commit

Permalink
Fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
joshtorres authored and github-actions[bot] committed Oct 4, 2023
1 parent 7ad8e46 commit b54c713
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 6 deletions.
12 changes: 9 additions & 3 deletions src/Http/Livewire/CreateReviewModal.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,22 +11,28 @@
use Filament\Forms\Contracts\HasForms;
use Livewire\Component;
use Modules\Reviews\Models\Review;
use OmniaDigital\OmniaLibrary\Livewire\WithModal;
use OmniaDigital\CatalystCore\Facades\Translate;
use OmniaDigital\OmniaLibrary\Livewire\WithModal;

class CreateReviewModal extends Component implements HasForms
{
use WithModal, InteractsWithForms;
use InteractsWithForms;
use WithModal;

public $model;

public Review|null $review = null;
public ?Review $review = null;

public $body;

public $visibility;

public $language_id;

public $commentable;

public $received_product_free;

public $recommend;

protected $listeners = ['openReviewModal'];
Expand Down
4 changes: 3 additions & 1 deletion src/Models/Review.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@

class Review extends Model
{
use HasFactory, Postable, Likable;
use HasFactory;
use Likable;
use Postable;

protected $guarded = [];

Expand Down
3 changes: 2 additions & 1 deletion src/Providers/ReviewsServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,8 @@ protected function registerConfig()
module_path($this->moduleName, 'Config/config.php') => config_path($this->moduleNameLower . '.php'),
], 'config');
$this->mergeConfigFrom(
module_path($this->moduleName, 'Config/config.php'), $this->moduleNameLower
module_path($this->moduleName, 'Config/config.php'),
$this->moduleNameLower
);
}

Expand Down
2 changes: 1 addition & 1 deletion src/Routes/web.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@
*/

Route::name('reviews.')->prefix('reviews')->group(function () {
// Route::get('/', 'ReviewsController@index');
// Route::get('/', 'ReviewsController@index');
});

0 comments on commit b54c713

Please sign in to comment.