@if(Auth::user()->hasRole('consultant'))
Dashboard
@endif
@if($current_step == 1)
@livewire("$current_view", ['user' => $user, 'post_code' => $post_code], key(rand().$current_step))
@else()
@livewire("$current_view", ['user' => $user], key(rand().$current_step))
@endif
{{-- @if($current_step == 1)
@livewire("dashboard.candidate.steps.partials.step1", ['user' => $user], key(rand().$current_step))
@elseif($current_step == 2)
@livewire("dashboard.candidate.steps.partials.step2", ['user' => $user], key(rand().$current_step))
@elseif($current_step == 3)
@livewire("dashboard.candidate.steps.partials.step3", ['user' => $user], key(rand().$current_step))
@elseif($current_step == 4)
@livewire("dashboard.candidate.steps.partials.step4", ['user' => $user], key(rand().$current_step))
@elseif($current_step == 5)
@livewire("dashboard.candidate.steps.partials.step5", ['user' => $user], key(rand().$current_step))
@elseif($current_step == 6)
@livewire("dashboard.candidate.steps.partials.step6", ['user' => $user], key(rand().$current_step))
@elseif($current_step == 7)
@endif --}}