code refactoring

This commit is contained in:
Burak Civan
2022-06-14 11:06:16 +03:00
parent eff1c5e816
commit 7ac568ece1
12 changed files with 16 additions and 7 deletions

View File

@ -34,6 +34,7 @@
:disabled="loadMoreLoading"
class="w-48 m-auto relative flex items-center justify-center bg-green hover:bg-green-700 text-white px-6 py-1.5 text-base rounded-lg disabled:bg-green-100 js-learn-more js-button-modal-submit"
>
<span>{{ trans('modules.see_more') }}</span>
<x-button.loading v-if="loadMoreLoading" text="{{ trans('modules.see_more') }}" text-hide="[{'opacity-0': loadMoreLoading}]" />
</button>