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.
1 parent cb6a65b commit 4e84196Copy full SHA for 4e84196
apps/renderer/src/hooks/biz/useFeedActions.tsx
@@ -65,6 +65,8 @@ export const useFeedActions = ({
65
type: feed.type,
66
ownerUserId: feed.ownerUserId,
67
id: feed.id,
68
+ url: feed.url,
69
+ siteUrl: feed.siteUrl,
70
}
71
})
72
const inbox = useInboxById(feedId)
@@ -273,10 +275,10 @@ export const useFeedActions = ({
273
275
disabled: isEntryList,
274
276
shortcut: "Meta+C",
277
click: () => {
- // @ts-expect-error
- const { url } = feed || {}
278
- if (!url) return
279
- navigator.clipboard.writeText(url)
+ const { url, siteUrl } = feed || {}
+ const copied = url || siteUrl
280
+ if (!copied) return
281
+ navigator.clipboard.writeText(copied)
282
},
283
284
{
0 commit comments