Fakultas Ilmu Komputer UI

Commit 1ae585b2 authored by Jonathan Chandra's avatar Jonathan Chandra
Browse files

fix wording

parent 2399fe19
...@@ -81,7 +81,7 @@ export default function Profile(props) { ...@@ -81,7 +81,7 @@ export default function Profile(props) {
{totalItems == 0 ? ( {totalItems == 0 ? (
<p> <p>
{isUser {isUser
? "You don't have any thread. Why don't you make one?" ? "You don't have any threads. Why don't you make one?"
: `${user.username} doesn't have any threads.`} : `${user.username} doesn't have any threads.`}
</p> </p>
) : ( ) : (
......
...@@ -35,7 +35,7 @@ export default function RecentThreads(props) { ...@@ -35,7 +35,7 @@ export default function RecentThreads(props) {
return ( return (
<div className="recentThreads"> <div className="recentThreads">
{totalItems == 0 ? ( {totalItems == 0 ? (
<p>There is no thread yet.</p> <p>There is no threads yet.</p>
) : ( ) : (
<Fragment> <Fragment>
<ThreadList thread={threads} /> <ThreadList thread={threads} />
......
...@@ -34,7 +34,7 @@ export default function TopThreads(props) { ...@@ -34,7 +34,7 @@ export default function TopThreads(props) {
return ( return (
<div className="topThreads"> <div className="topThreads">
{totalItems == 0 ? ( {totalItems == 0 ? (
<p>There is no thread yet.</p> <p>There is no threads yet.</p>
) : ( ) : (
<Fragment> <Fragment>
<ThreadList thread={threads} /> <ThreadList thread={threads} />
......
...@@ -28,7 +28,7 @@ export default function TopicList(props) { ...@@ -28,7 +28,7 @@ export default function TopicList(props) {
</div> </div>
{topics.length == 0 && ( {topics.length == 0 && (
<div className="noTopic"> <div className="noTopic">
<p>There is no topic yet.</p> <p>There is no topics yet.</p>
</div> </div>
)} )}
{topics.length != 0 && ( {topics.length != 0 && (
......
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