Skip to content

Commit

Permalink
refactor: remove unnecessary line
Browse files Browse the repository at this point in the history
  • Loading branch information
yilanboy committed Nov 15, 2024
1 parent dd84088 commit ada6b22
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,6 @@
<div
class="fixed inset-0 z-30 flex min-h-screen items-end justify-center"
role="dialog"
aria-labelledby="modal-title"
aria-modal="true"
x-cloak
x-data="createCommentModal"
x-ref="createCommentModal"
Expand All @@ -93,7 +90,6 @@ class="fixed inset-0 z-30 flex min-h-screen items-end justify-center"
{{-- gray background --}}
<div
class="fixed inset-0 bg-gray-500 bg-opacity-75 transition-opacity"
aria-hidden="true"
x-show="modalIsOpen"
x-transition.opacity
></div>
Expand Down Expand Up @@ -136,11 +132,7 @@ class="space-y-5"
<div class="space-y-2">
<div class="space-x-4">
<span class="font-semibold dark:text-gray-50">
@if (auth()->check())
{{ auth()->user()->name }}
@else
訪客
@endif
{{ auth()->check() ? auth()->user()->name : '訪客' }}
</span>
<span class="text-gray-400">{{ now()->format('Y 年 m 月 d 日') }}</span>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,6 @@
<div
class="fixed inset-0 z-30 flex min-h-screen items-end justify-center"
role="dialog"
aria-labelledby="modal-title"
aria-modal="true"
x-cloak
x-data="editCommentModal"
x-ref="editCommentModal"
Expand All @@ -69,7 +66,6 @@ class="fixed inset-0 z-30 flex min-h-screen items-end justify-center"
{{-- gray background --}}
<div
class="fixed inset-0 bg-gray-500 bg-opacity-75 transition-opacity"
aria-hidden="true"
x-show="modalIsOpen"
x-transition.opacity
></div>
Expand Down

0 comments on commit ada6b22

Please sign in to comment.