From 630f78bde4c59d128958fc93251a6c72e7ae4ba3 Mon Sep 17 00:00:00 2001 From: ildyria Date: Wed, 13 Nov 2024 12:57:06 +0100 Subject: [PATCH] fix ts check --- resources/js/layouts/PhotoLayout.ts | 8 -------- 1 file changed, 8 deletions(-) diff --git a/resources/js/layouts/PhotoLayout.ts b/resources/js/layouts/PhotoLayout.ts index 4c58bf2919..756103a6cc 100644 --- a/resources/js/layouts/PhotoLayout.ts +++ b/resources/js/layouts/PhotoLayout.ts @@ -4,7 +4,6 @@ import { useJustify } from "./useJustify"; import { useMasonry } from "./useMasonry"; import { useGrid } from "./useGrid"; import AlbumService from "@/services/album-service"; -import TimelineService from "@/services/timeline-service"; export function useLayouts( config: App.Http.Resources.GalleryConfigs.PhotoLayoutConfig, @@ -64,16 +63,9 @@ export function useGetLayoutConfig() { }); } - function loadLayoutTimeline() { - TimelineService.init().then((data) => { - layout.value = data.data.photo_layout; - }); - } - return { layout, layoutConfig, loadLayoutConfig, - loadLayoutTimeline, }; }