Skip to content

Commit a8bec49

Browse files
committed
Minor refactor.
1 parent 494161f commit a8bec49

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

packages/Webkul/Admin/src/Resources/views/configuration/edit.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,4 +80,4 @@ class="primary-button"
8080
</x-admin::form>
8181

8282
{!! view_render_event('admin.configuration.edit.form_controls.after') !!}
83-
</x-admin::layouts>
83+
</x-admin::layouts>

packages/Webkul/Admin/src/Resources/views/settings/index.blade.php

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,9 @@
3636
class="flex max-w-[360px] items-center gap-2 rounded-lg p-2 transition-all hover:bg-gray-100 dark:hover:bg-gray-950"
3737
href="{{ $child->getUrl() }}"
3838
>
39-
@if ($icon = $child->getIcon())
40-
<div class="rounded-lg bg-gray-100 p-3 dark:bg-gray-800">
41-
<i class="{{ $child->getIcon() }} text-3xl "></i>
42-
</div>
43-
@endif
39+
<div class="rounded-lg bg-gray-100 p-3 dark:bg-gray-800">
40+
<i class="{{ $child->getIcon() }} text-3xl"></i>
41+
</div>
4442

4543
<div class="grid">
4644
<p class="mb-1.5 text-base font-semibold text-gray-800 dark:text-white">
@@ -57,4 +55,4 @@ class="flex max-w-[360px] items-center gap-2 rounded-lg p-2 transition-all hover
5755
</div>
5856
@endforeach
5957
</div>
60-
</x-admin::layouts>
58+
</x-admin::layouts>

0 commit comments

Comments
 (0)