diff --git a/src/routes/[country]/[location]/[photo].svelte b/src/routes/[country]/[location]/[photo].svelte index f21195a..d3795d7 100644 --- a/src/routes/[country]/[location]/[photo].svelte +++ b/src/routes/[country]/[location]/[photo].svelte @@ -10,7 +10,6 @@ import { throttle } from '$utils/functions' import { swipe } from '$utils/interactions/swipe' import dayjs from 'dayjs' - import advancedFormat from 'dayjs/plugin/advancedFormat.js' import anime from 'animejs' import type { AnimeTimelineInstance } from 'animejs' // Components @@ -29,8 +28,6 @@ export let limit: number export let offset: number - dayjs.extend(advancedFormat) - enum directions { PREV, NEXT } let innerWidth: number @@ -377,7 +374,7 @@ {/if} - · + · diff --git a/src/routes/[country]/[location]/index.svelte b/src/routes/[country]/[location]/index.svelte index f7c6f0a..a337a69 100644 --- a/src/routes/[country]/[location]/index.svelte +++ b/src/routes/[country]/[location]/index.svelte @@ -5,7 +5,6 @@ import anime from 'animejs' import type { AnimeTimelineInstance } from 'animejs' import dayjs from 'dayjs' - import advancedFormat from 'dayjs/plugin/advancedFormat.js' import relativeTime from 'dayjs/plugin/relativeTime.js' import { getAssetUrlKey } from '$utils/helpers' import { DURATION } from '$utils/contants' @@ -22,7 +21,6 @@ export let photos: any[] export let totalPhotos: number - dayjs.extend(advancedFormat) dayjs.extend(relativeTime) const { params } = $page @@ -290,7 +288,7 @@
{#if city}