Move get asset function into same API file

This commit is contained in:
2022-08-14 12:12:30 +02:00
parent f504b45957
commit fa74e5bf7f
5 changed files with 38 additions and 39 deletions

View File

@@ -8,9 +8,8 @@
import { timeline } from 'motion'
import dayjs from 'dayjs'
import relativeTime from 'dayjs/plugin/relativeTime.js'
import { getAssetUrlKey } from '$utils/helpers'
import { quartOut } from '$animations/easings'
import { fetchAPI } from '$utils/api'
import { fetchAPI, getAssetUrlKey } from '$utils/api'
import { DELAY, DURATION } from '$utils/contants'
import { photoFields } from '.'
// Components