We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e11bc03 + 36c68ec commit 8636e74Copy full SHA for 8636e74
src/app/dashboard/home/page.tsx
@@ -1,5 +1,5 @@
1
import FeedContainer from "@/containers/FeedContainer";
2
3
-export default function Home() {
+export default async function Home() {
4
return <FeedContainer feed="timeline" />;
5
}
src/lib/hooks/bsky/feed/usePublishPost.tsx
@@ -178,7 +178,9 @@ export default function usePublishPost(props: Props) {
178
if (linkCard.image) {
179
try {
180
const image = await fetch(linkCard.image);
181
- const blob = await image.blob();
+ const blob = await compressImage(
182
+ (await image.blob()) as UploadImage
183
+ );
184
const uploaded = await agent.uploadBlob(
185
new Uint8Array(await blob.arrayBuffer()),
186
{
0 commit comments