refactor(ark): update note component
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import { Note, ThreadNote } from "@lume/ark";
|
||||
import { ThreadNote } from "@lume/ark";
|
||||
import { ArrowLeftIcon } from "@lume/icons";
|
||||
import { ReplyList } from "@lume/ui";
|
||||
import { useNavigate, useParams } from "react-router-dom";
|
||||
import { WVList } from "virtua";
|
||||
|
||||
@@ -21,7 +22,7 @@ export function EventRoute() {
|
||||
</div>
|
||||
<div className="px-3">
|
||||
<ThreadNote eventId={id} />
|
||||
<Note.ReplyList eventId={id} title="All replies" className="mt-5" />
|
||||
<ReplyList eventId={id} title="All replies" className="mt-5" />
|
||||
</div>
|
||||
</WVList>
|
||||
);
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import { Note, ThreadNote } from "@lume/ark";
|
||||
import { ReplyList } from "@lume/ui";
|
||||
import { WVList } from "virtua";
|
||||
|
||||
export function HomeRoute({ id }: { id: string }) {
|
||||
@@ -6,7 +7,7 @@ export function HomeRoute({ id }: { id: string }) {
|
||||
<WVList className="pb-5 overflow-y-auto">
|
||||
<div className="px-3">
|
||||
<ThreadNote eventId={id} />
|
||||
<Note.ReplyList eventId={id} title="All replies" className="mt-5" />
|
||||
<ReplyList eventId={id} title="All replies" className="mt-5" />
|
||||
</div>
|
||||
</WVList>
|
||||
);
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
import { Note, ThreadNote } from "@lume/ark";
|
||||
import { ArrowLeftIcon } from "@lume/icons";
|
||||
import { ReplyList } from "@lume/ui";
|
||||
import { useNavigate, useParams } from "react-router-dom";
|
||||
import { WVList } from "virtua";
|
||||
|
||||
@@ -21,7 +22,7 @@ export function EventRoute() {
|
||||
</div>
|
||||
<div className="px-3">
|
||||
<ThreadNote eventId={id} />
|
||||
<Note.ReplyList eventId={id} title="All replies" className="mt-5" />
|
||||
<ReplyList eventId={id} title="All replies" className="mt-5" />
|
||||
</div>
|
||||
</WVList>
|
||||
);
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
import { Note, ThreadNote } from "@lume/ark";
|
||||
import { ThreadNote } from "@lume/ark";
|
||||
import { ArrowLeftIcon } from "@lume/icons";
|
||||
import { ReplyList } from "@lume/ui";
|
||||
import { useNavigate, useParams } from "react-router-dom";
|
||||
import { WVList } from "virtua";
|
||||
|
||||
@@ -21,7 +22,7 @@ export function EventRoute() {
|
||||
</div>
|
||||
<div className="px-3">
|
||||
<ThreadNote eventId={id} />
|
||||
<Note.ReplyList eventId={id} title="All replies" className="mt-5" />
|
||||
<ReplyList eventId={id} title="All replies" className="mt-5" />
|
||||
</div>
|
||||
</WVList>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user