Skip to content

Commit

Permalink
Bugfix: Where Button didn't show up immediately after deleting review
Browse files Browse the repository at this point in the history
  • Loading branch information
PaperTurtle committed Dec 20, 2023
1 parent bb342c7 commit a4ebc75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/views/products/show.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ class="absolute inset-y-0 rounded-full border border-yellow-400 bg-yellow-400">
</template>
</dl>
</div>
@if (auth()->check() && !$product->hasUserReviewed(auth()->id()) && auth()->id() !== $product->artisan_id)
@if (auth()->check() && auth()->id() !== $product->artisan_id)
<template x-if="!userHasReviewed">
<div class="mt-10 add-review" @submit.prevent="submitReview">
<h3 class="text-lg font-medium text-text">Share your thoughts</h3>
Expand Down

0 comments on commit a4ebc75

Please sign in to comment.