@extends('layouts.admin')
@section('content')
    @switch($section)
        @case(1)
            @livewire('admin.comment.index',['product' => $product])
        @break

        @case(2)
            @livewire('admin.comment.create',['product' => $product])
        @break

        @case(3)
            @livewire('admin.comment.edit',['comment' => $comment])
        @break
        
        {{-- @case(4)
            @livewire('admin.product.price',['product' => $product])
        @break --}}
        @default
    @endswitch
@endsection
