mirror of
https://github.com/wgh136/nysoure.git
synced 2025-09-27 12:17:24 +00:00
format code.
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
import { useNavigate, useParams } from "react-router";
|
import { useParams } from "react-router";
|
||||||
import { CommentWithResource, User } from "../network/models";
|
import { CommentWithResource, User } from "../network/models";
|
||||||
import { network } from "../network/network";
|
import { network } from "../network/network";
|
||||||
import showToast from "../components/toast";
|
import showToast from "../components/toast";
|
||||||
@@ -6,8 +6,6 @@ import { useEffect, useState } from "react";
|
|||||||
import ResourcesView from "../components/resources_view";
|
import ResourcesView from "../components/resources_view";
|
||||||
import Loading from "../components/loading";
|
import Loading from "../components/loading";
|
||||||
import Pagination from "../components/pagination";
|
import Pagination from "../components/pagination";
|
||||||
import { MdOutlineArrowRight } from "react-icons/md";
|
|
||||||
import { ImageGrid } from "../components/image.tsx";
|
|
||||||
import { CommentTile } from "../components/comment_tile.tsx";
|
import { CommentTile } from "../components/comment_tile.tsx";
|
||||||
|
|
||||||
export default function UserPage() {
|
export default function UserPage() {
|
||||||
@@ -175,8 +173,10 @@ function CommentsList({
|
|||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
{comments.map((comment) => {
|
{comments.map((comment) => {
|
||||||
return <CommentTile elevation="high" comment={comment} key={comment.id} />;
|
return (
|
||||||
|
<CommentTile elevation="high" comment={comment} key={comment.id} />
|
||||||
|
);
|
||||||
})}
|
})}
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user