<script>
  import { t } from '../../../shared/services/translation/t';
  import { nhentaiSaveFavorites } from '../../services/api';
  import SvelteButton from '../elements/SvelteButton.svelte';

  function handleClick() {
    nhentaiSaveFavorites();
  }
</script>

<div class="nhentai-login">
  <SvelteButton on:click="{handleClick}">{t('labels.actions.save_nhentai_favorites')}</SvelteButton>
</div>
