<template>
  <img :src="BackIcon" class="back-icon" @click="router.back()" />
</template>

<script lang="ts" setup>
  import { useRouter } from 'vue-router';
  import BackIcon from 'assets/svg/back.svg';
  const router = useRouter();
</script>

<style lang="scss" scoped>
  .back-icon {
    width: 16px;
    cursor: pointer;
  }
</style>
