<template>
  <p v-if="isLoading">Redirecting...</p>
</template>

<script lang="ts" setup>
import { useHandleSignInCallback } from '@logto/vue';
import router from '@/router';

const { isLoading } = useHandleSignInCallback(() => {
  router.push('/');
});
</script>
