Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Trevor Austin
/
mpcs-52553-austin-winter-2021
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Pipelines
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
b361df96
authored
Mar 03, 2021
by
Trevor Austin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Always show posts
parent
32a5d5a6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
week_8/examples/login_and_post/static/script.js
week_8/examples/login_and_post/static/script.js
View file @
b361df96
...
...
@@ -174,7 +174,7 @@ class Journal extends React.Component {
logoutHandler
=
{
this
.
logoutHandler
}
/
>
{
isLoggedIn
&&
<
Compose
getPosts
=
{
this
.
getPosts
}
/>
}
{
isLoggedIn
&&
<
Posts
posts
=
{
this
.
state
.
posts
}
getPosts
=
{
this
.
getPosts
}
/>
}
<
Posts
posts
=
{
this
.
state
.
posts
}
getPosts
=
{
this
.
getPosts
}
/
>
<
/div
>
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment