We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4dbcc5e commit 9e18699Copy full SHA for 9e18699
src/views/NewPost.js
@@ -13,12 +13,12 @@ export default function NewPost(state) {
13
<button class=post>Post</button>
14
</section>
15
</article>
16
- ` : R`<h1>posts</h1>`
+ ` : R`<h1>${state.currentFeed}'s posts</h1>`
17
}`;
18
}
19
20
function showNewPost(state) {
21
- if ( ! state.currentFeed || state.currentFeed == ':me' || state.currentFeed == ':feed' || state.currentFeed == state.name ) {
+ if ( ! state.currentFeed || state.currentFeed == ':feed' || state.currentFeed == state.name ) {
22
return true;
23
} else return false;
24
0 commit comments