Skip to content

Fixed Bug that was introduced during conflict resolution#52

Merged
sepej-osu merged 1 commit intomainfrom
fix-bug
Feb 17, 2026
Merged

Fixed Bug that was introduced during conflict resolution#52
sepej-osu merged 1 commit intomainfrom
fix-bug

Conversation

@raulp93
Copy link
Collaborator

@raulp93 raulp93 commented Feb 16, 2026

Removed a duplicate import statement on Home.jsx and added a missing parenthesis on APP.jsx: specifically, the create post route. It was my bad.

…paranthesis on APP.jsx: specifically the create post route. It was my bad.
<Route
path="/create-post"
element={
(currentUser ? <CreatePost /> : <Navigate to="/login" replace />
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this was simply missing a parenthesis. I added it along with the check for profile so that nonprofile having users can't make posts.

@sepej-osu sepej-osu self-requested a review February 17, 2026 00:27
Copy link
Owner

@sepej-osu sepej-osu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the fix. Let's merge it in!

@sepej-osu sepej-osu merged commit 42b2c76 into main Feb 17, 2026
@sepej-osu sepej-osu deleted the fix-bug branch February 17, 2026 00:28
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.

2 participants