Skip to content
This repository has been archived by the owner on Aug 3, 2024. It is now read-only.

Commit

Permalink
fix moderation dash
Browse files Browse the repository at this point in the history
  • Loading branch information
Geometrically committed Mar 30, 2024
1 parent 1abfb17 commit 3b0216c
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion composables/date.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import dayjs from 'dayjs'
import relativeTime from 'dayjs/plugin/relativeTime'

// eslint-disable-next-line import/no-named-as-default-member
dayjs.extend(relativeTime)

export const useCurrentDate = () => useState('currentDate', () => Date.now())
Expand Down
2 changes: 1 addition & 1 deletion pages/moderation/review.vue
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ const TIME_24H = 86400000
const TIME_48H = TIME_24H * 2
const { data: projects } = await useAsyncData('moderation/projects?count=1000', () =>
useBaseFetch('moderation/projects?count=1000')
useBaseFetch('moderation/projects?count=1000', { internal: true })
)
const members = ref([])
const projectType = ref('all')
Expand Down
2 changes: 1 addition & 1 deletion utils/analytics.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import dayjs from 'dayjs'

// note: build step can miss unix import for some reason, so
// we have to import it like this
// eslint-disable-next-line import/no-named-as-default-member

const { unix } = dayjs

export function useCountryNames(style = 'long') {
Expand Down

0 comments on commit 3b0216c

Please sign in to comment.