Skip to content

Commit

Permalink
fix ts check
Browse files Browse the repository at this point in the history
  • Loading branch information
ildyria committed Nov 15, 2024
1 parent 650d8d7 commit 630f78b
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions resources/js/layouts/PhotoLayout.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -64,16 +63,9 @@ export function useGetLayoutConfig() {
});
}

function loadLayoutTimeline() {
TimelineService.init().then((data) => {
layout.value = data.data.photo_layout;
});
}

return {
layout,
layoutConfig,
loadLayoutConfig,
loadLayoutTimeline,
};
}

0 comments on commit 630f78b

Please sign in to comment.