Move get asset function into same API file
This commit is contained in:
@@ -9,8 +9,7 @@
|
||||
import { onMount, tick } from 'svelte'
|
||||
import { fade, scale } from 'svelte/transition'
|
||||
import { quartOut } from 'svelte/easing'
|
||||
import { getAssetUrlKey } from '$utils/helpers'
|
||||
import { fetchAPI } from '$utils/api'
|
||||
import { fetchAPI, getAssetUrlKey } from '$utils/api'
|
||||
import { previousPage } from '$utils/stores'
|
||||
import { throttle } from '$utils/functions'
|
||||
import { swipe } from '$utils/interactions/swipe'
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user