Skip to content

Commit

Permalink
📦 VERSION: 3.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
AricRedemption committed Aug 27, 2024
1 parent 3091d55 commit b1880d8
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/pages/wallet/Bridge/components/BridgeHistoryPanel.vue
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<template>
<div class="no-scrollbar min-h-96 h-96 overflow-y-scroll w-full nicer-scrollbar">
<!-- <Empty v-if="list.length === 0 && !loading">
<Empty v-if="list.length === 0 && !loading">
<template #description>
<span class="font-sm mt-1 text-[#37463A]">No Transfers yet</span>
</template>
</Empty> -->
</Empty>

<div v-for="item in list" :key="item.originTxid" class="bg-panel/70 mt-3 rounded-xl py-5 px-3 w-full">
<div class="flex items-center justify-between w-full">
Expand Down Expand Up @@ -41,10 +41,10 @@
</template>

<script setup>
import Empty from './Empty.vue'
import { ref, onMounted } from 'vue'
import { prettyTimestamp } from '@/lib/utils'
import { getBridgeHistory, useBridgeInfoQuery } from '@/queries/bridge'
// import Empty from './Empty.vue'
import btc from '@/assets/icons-v3/network_btc.svg'
import mvc from '@/assets/icons-v3/network_mvc.svg'
import { ArrowRight } from 'lucide-vue-next'
Expand Down
24 changes: 24 additions & 0 deletions src/pages/wallet/Bridge/components/Empty.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<template>
<div :class="cn('flex h-full flex-col items-center justify-center', className)">
<EmptyIcon />
<div>
<span v-if="description" class="font-sm mt-2 text-[#37463A]">{{ description }}</span>
</div>
</div>
</template>

<script setup>
import EmptyIcon from '@/assets/icons-v3/empty.svg'
import { cn } from '@/lib/utils'
const props = defineProps({
description: {
type: String,
default: '',
},
className: {
type: String,
default: '',
},
})
</script>

0 comments on commit b1880d8

Please sign in to comment.