add note page

This commit is contained in:
Ren Amamiya
2023-07-04 15:40:18 +07:00
parent a30cf66c2e
commit 6590ea29e2
11 changed files with 99 additions and 134 deletions

View File

@@ -1,4 +1,5 @@
import { useMutation, useQuery, useQueryClient } from '@tanstack/react-query';
import { Link } from 'react-router-dom';
import { useLiveThread } from '@app/space/hooks/useLiveThread';
@@ -58,6 +59,7 @@ export function ThreadBlock({ params }: { params: any }) {
id={data.event_id || params.content}
eventPubkey={data.pubkey}
/>
<Link to={`/app/note/${params.content}`}>Focus</Link>
</div>
</div>
<div className="mt-3 rounded-md bg-zinc-900">