feat: Add Todoist notification list item
This commit is contained in:
@@ -9,7 +9,7 @@ interface LinearIssuePreviewProps {
|
||||
}
|
||||
|
||||
export function LinearIssuePreview({ notification, linearIssue }: LinearIssuePreviewProps) {
|
||||
const notification_html_url = useMemo(() => {
|
||||
const notificationHtmlUrl = useMemo(() => {
|
||||
return getNotificationHtmlUrl(notification);
|
||||
}, [notification]);
|
||||
|
||||
@@ -18,7 +18,7 @@ export function LinearIssuePreview({ notification, linearIssue }: LinearIssuePre
|
||||
markdown={`# ${linearIssue.title}`}
|
||||
actions={
|
||||
<ActionPanel>
|
||||
<Action.OpenInBrowser url={notification_html_url} />
|
||||
<Action.OpenInBrowser url={notificationHtmlUrl} />
|
||||
</ActionPanel>
|
||||
}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user