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

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

<style></style>

<div class="nhentai-login">
  <SvelteButton on:click="{handleClick}">{ t('Save nhentai Favorites') }</SvelteButton>
</div>
