<template>
  <div class="current-time-box">
    <div>停留: {{ time.joinTimeFormat }}</div>
    <div class="m-t-mini">{{ time.serverTimeFormat }}</div>
  </div>
</template>

<script setup lang="ts" name="CurrentTime">
import useTime from '@/hooks/useTime'

const time = useTime()
</script>

<style scoped lang="scss">
.current-time-box {
  width: 122px;
  text-align: center;
}
</style>
