this repo has no description

Fixed some non-critial errors

ari.express 6628b3d0 fe96164f

verified
Changed files
+6 -3
src
+1 -1
src/lib/PostComponent.svelte
··· 18 18 <p>{post.text}</p> 19 19 {#if post.replyingDid} 20 20 <p>Replying to: {post.replyingDid}</p> 21 - {/if} 21 + {/if} 22 22 {#if post.imagesCid} 23 23 <div id="imagesContainer"> 24 24 {#each post.imagesCid as imageLink}
+5 -2
src/lib/pdsfetch.ts
··· 2 2 import "@atcute/bluesky/lexicons"; 3 3 import type { 4 4 AppBskyActorDefs, 5 + AppBskyActorProfile, 5 6 AppBskyFeedPost, 7 + At, 6 8 ComAtprotoRepoListRecords, 7 9 } from "@atcute/client/lexicons"; 10 + import type App from "../App.svelte"; 8 11 // import { ComAtprotoRepoListRecords.Record } from "@atcute/client/lexicons"; 9 12 // import { AppBskyFeedPost } from "@atcute/client/lexicons"; 10 13 // import { AppBskyActorDefs } from "@atcute/client/lexicons"; ··· 106 109 rkey: "self", 107 110 }, 108 111 }); 109 - const value = data.value as AppBskyActorDefs.ProfileView; 112 + const value = data.value as AppBskyActorProfile.Record; 110 113 const account: AccountMetadata = { 111 114 did: did, 112 115 displayName: value.displayName || "", ··· 131 134 const fetchPosts = async (did: string) => { 132 135 const { data } = await rpc.get("com.atproto.repo.listRecords", { 133 136 params: { 134 - repo: did, 137 + repo: did as At.Identifier, 135 138 collection: "app.bsky.feed.post", 136 139 limit: 5, 137 140 },