Skip to content

Auth Redirect Duplicate Code Fix - #253

Merged
westonz7042 merged 3 commits into
mainfrom
jjescobedo/AuthWrapper
Jun 4, 2026
Merged

westonz7042 merged 3 commits into
mainfrom
jjescobedo/AuthWrapper

Conversation

@jjescobedo

Copy link
Copy Markdown
Contributor

Tracking Info

Resolves #244

Changes

  • Added ProtectedLayout.tsx and removed duplicate auth redirect logic and associated imports from most of the editor files or components that the editor files use

Testing

  • Manual

Confirmation of Change

  • New ProtectedLayout.tsx in /components for admin-portal

@jjescobedo
jjescobedo requested a review from westonz7042 as a code owner May 31, 2026 21:22
@vercel

vercel Bot commented May 31, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
f3-global Ready Ready Preview, Comment May 31, 2026 9:22pm
f3-global-backend Ready Ready Preview, Comment May 31, 2026 9:22pm

@katelnyli katelnyli left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

lgtm!

@PaperTop PaperTop left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

@westonz7042
westonz7042 merged commit 9aa8739 into main Jun 4, 2026
5 checks passed

This branch was successfully deployed

2 active deployments
Preview – f3-global-backend — 8c13b45c Deployed May 31, 2026 by vercel[bot]
Preview – f3-global — 8c13b45c Deployed May 31, 2026 by vercel[bot]
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.

[Code Quality] Duplication of auth redirect code

4 participants