···378378379379 // Now validate the record since we know it contains our quote param
380380 let record = AppBskyFeedPost.validateRecord(evt.record);
381381- if (!record.success) return;
381381+ if (!record.success) {
382382+ console.log(record.error);
383383+ return;
384384+ }
382385383386 let embed: string | null = null;
384387 if (
···1919 const uri = new AtUri(atUri);
20202121 if (isPublicationCollection(uri.collection)) {
2222- // Publication URL: /lish/{did}/{rkey}
2323- return `/lish/${uri.host}/${uri.rkey}`;
2222+ return `/lish/uri/${encodeURIComponent(atUri)}`;
2423 } else if (isDocumentCollection(uri.collection)) {
2525- // Document URL - we need to resolve this via the API
2626- // For now, create a redirect route that will handle it
2724 return `/lish/uri/${encodeURIComponent(atUri)}`;
2825 }
2926···4239export function handleMentionClick(
4340 e: MouseEvent | React.MouseEvent,
4441 type: "did" | "at-uri",
4545- value: string
4242+ value: string,
4643) {
4744 e.preventDefault();
4845 e.stopPropagation();