<script lang="ts">
  import type { UserProfilePage } from "./+page";

  export let data: UserProfilePage;
</script>

<h1>Profile page for {data.user.email}</h1>
<a href={`/users/${data.user.id}/todos`}>{data.user.first_name}'s Todos</a>
