import * as Tooltip from '@radix-ui/react-tooltip'; import { useStorage } from '@libs/storage/provider'; import { ThreadIcon } from '@shared/icons'; import { MoreActions } from '@shared/notes/actions/more'; import { NoteReaction } from '@shared/notes/actions/reaction'; import { NoteReply } from '@shared/notes/actions/reply'; import { NoteRepost } from '@shared/notes/actions/repost'; import { NoteZap } from '@shared/notes/actions/zap'; import { widgetKinds } from '@stores/constants'; import { useWidgets } from '@stores/widgets'; export function NoteActions({ id, pubkey, noOpenThread, root, }: { id: string; pubkey: string; noOpenThread?: boolean; root?: string; }) { const { db } = useStorage(); const setWidget = useWidgets((state) => state.setWidget); return (
{!noOpenThread && ( <>
Open thread )}
); }