Skip to content

Fix router re-creation on render and use env var for encryption key - #416

Closed
saurabhhhcodes wants to merge 1 commit into
pooranjoyb:masterfrom
saurabhhhcodes:fix/popShop-batch-6
Closed

Fix router re-creation on render and use env var for encryption key#416
saurabhhhcodes wants to merge 1 commit into
pooranjoyb:masterfrom
saurabhhhcodes:fix/popShop-batch-6

Conversation

@saurabhhhcodes

Copy link
Copy Markdown

Fixed: 1) App.tsx - moved createBrowserRouter call outside component to prevent full remount on every render. 2) store.ts - replaced hardcoded encryption secret key with environment variable.

@vercel

vercel Bot commented Jul 27, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
pop-shop Ready Ready Preview, Comment Jul 27, 2026 2:12am

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