Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixing-merge-mistake: deleted extra footers #126

Merged
merged 2 commits into from Nov 24, 2021
Merged

Conversation

TelescopeThieves
Copy link
Collaborator

@TelescopeThieves TelescopeThieves commented Nov 24, 2021

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)

Description

Deleted the extra footers in Feed and CreatePost. Having not realized they were abstracted to the Layout component I merged my versions of the Feed and CreatePost into main.

I also then abstracted the is admin prop in the Navbar and added the functionality that closes the navbar once the Home, Create a post or Log out links are clicked.

I also added a dependency on the useEffect of the Feed so that it re-renders on log-out.

Questions and concerns

@emmebravo emmebravo merged commit 7d3684d into main Nov 24, 2021
@emmebravo emmebravo deleted the delete-extra-footers branch November 24, 2021 07:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants