Fakultas Ilmu Komputer UI

Commit 0cde542b authored by Jonathan Chandra's avatar Jonathan Chandra
Browse files

edit Topic.js

parent bb8ab461
......@@ -48,7 +48,12 @@ export default function Topic(props) {
)}
</div>
<div className="list_threads_section">
<ThreadList thread={threads} />
{totalItems == 0 && (
<p>There are no threads with this topic yet</p>
)}
{totalItems != 0 && (
<ThreadList thread={threads} />
)}
{totalItems != 0 && (
<div className="paginationContainer">
<Pagination
......
......@@ -16,6 +16,7 @@
flex-direction: column;
margin-top: 56px;
justify-content: center;
font-family: "DM Sans";
}
.sub_header_list_threads {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment