update ndk

This commit is contained in:
Ren Amamiya
2023-06-11 09:34:13 +07:00
parent 38558280ba
commit 6dab0d5e44
10 changed files with 190 additions and 252 deletions

View File

@@ -4,7 +4,7 @@ import { Navigation } from "@shared/navigation";
export function LayoutChannel({ children }: { children: React.ReactNode }) {
return (
<div className="flex w-screen h-screen">
<div className="relative flex flex-row flex-wrap shrink-0">
<div className="relative flex flex-row shrink-0">
<MultiAccounts />
<Navigation />
</div>

View File

@@ -4,7 +4,7 @@ import { Navigation } from "@shared/navigation";
export function LayoutChat({ children }: { children: React.ReactNode }) {
return (
<div className="flex w-screen h-screen">
<div className="relative flex flex-row flex-wrap shrink-0">
<div className="relative flex flex-row shrink-0">
<MultiAccounts />
<Navigation />
</div>

View File

@@ -37,7 +37,10 @@ export const NoteParent = memo(function NoteParent({ id }: { id: string }) {
</div>
</div>
)}
<NoteMetadata id={data.id} eventPubkey={data.pubkey} />
<NoteMetadata
id={data.event_id || data.id}
eventPubkey={data.pubkey}
/>
</div>
</>
) : (

View File

@@ -1,11 +1,10 @@
import { AppHeader } from "@shared/appHeader";
import { MultiAccounts } from "@shared/multiAccounts";
import { Navigation } from "@shared/navigation";
export function LayoutNewsfeed({ children }: { children: React.ReactNode }) {
return (
<div className="flex w-screen h-screen">
<div className="relative flex flex-row flex-wrap shrink-0">
<div className="relative flex flex-row shrink-0">
<MultiAccounts />
<Navigation />
</div>

View File

@@ -5,7 +5,7 @@ import { SWRConfig } from "swr";
export function LayoutSpace({ children }: { children: React.ReactNode }) {
return (
<div className="flex w-screen h-screen">
<div className="relative flex flex-row flex-wrap shrink-0">
<div className="relative flex flex-row shrink-0">
<MultiAccounts />
<Navigation />
</div>