<script>
  import { getInsult } from '$lib/stores/insults';
  import { goto } from '$app/navigation';

	$: insult = getInsult();

  $: {
    if ($insult) {
      goto(`/${$insult}`);
    }
  }
</script>

<article>
  <main>
    Insultando...
  </main>
</article>
