Skip to content

Commit

Permalink
fix: 🔧 去除冗余的的项目排序
Browse files Browse the repository at this point in the history
  • Loading branch information
viarotel committed Oct 18, 2023
1 parent 4f2c240 commit e6d0d4c
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/components/HomeFeaturesBefore/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import { computed } from 'vue'
import { useData } from 'vitepress'
import VPFeatures from 'vitepress/dist/client/theme-default/components/VPFeatures.vue'
import dayjs from 'dayjs'
import { data } from '@/data/repos.data.js'
const { lang } = useData()
Expand All @@ -18,7 +17,6 @@ const features = computed(() => {
details: item.description,
link: `https://github.com/${item.repo}`,
}))
.sort((a, b) => dayjs(b.updatedAt).unix() - dayjs(a.updatedAt).unix())
})
</script>

Expand Down

0 comments on commit e6d0d4c

Please sign in to comment.