<script lang="ts">
  import PhotoPostForm from "../../../components/admin/PhotoPostForm.svelte";
  import type { PageProps } from "./$types.js";
  import PhotoFeed from "./PhotoFeed.svelte";

  const { data }: PageProps = $props();
</script>

<div>
  <h1>Photo Posts</h1>
  <PhotoFeed photos={data.photos} />
</div>
