fix deck clickable articles
This commit is contained in:
parent
2f1f2a5e97
commit
da099ca214
@ -149,7 +149,9 @@ export function LongFormText(props: LongFormTextProps) {
|
||||
}
|
||||
|
||||
return (
|
||||
<div className={classNames("long-form-note flex flex-col g16 p break-words")}>
|
||||
<div
|
||||
className={classNames("long-form-note flex flex-col g16 p break-words", { "cursor-pointer": props.isPreview })}
|
||||
onClick={props.onClick}>
|
||||
<ProfilePreview
|
||||
pubkey={props.ev.pubkey}
|
||||
actions={
|
||||
|
@ -3,7 +3,7 @@ import { useContext } from "react";
|
||||
import { useArticles } from "@/Feed/ArticlesFeed";
|
||||
import { DeckContext } from "@/Pages/Deck/DeckLayout";
|
||||
|
||||
import Note from "../Event/EventComponent";
|
||||
import Note from "../../Components/Event/EventComponent";
|
||||
|
||||
const options = {
|
||||
longFormPreview: true,
|
@ -3,11 +3,11 @@ import { useCallback } from "react";
|
||||
import { FormattedMessage } from "react-intl";
|
||||
import { Outlet } from "react-router-dom";
|
||||
|
||||
import Articles from "@/Components/Feed/Articles";
|
||||
import { RootTabs } from "@/Components/Feed/RootTabs";
|
||||
import TimelineFollows from "@/Components/Feed/TimelineFollows";
|
||||
import Icon from "@/Components/Icons/Icon";
|
||||
import { transformTextCached } from "@/Hooks/useTextTransformCache";
|
||||
import Articles from "@/Pages/Deck/Articles";
|
||||
import NotificationsPage from "@/Pages/Notifications/Notifications";
|
||||
|
||||
export function NotesCol() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user