Skip to content

Fix bugs across ecommerce store#237

Closed
Xenon010101 wants to merge 1 commit into
Indie-Kart:mainfrom
Xenon010101:fix/various-bugs
Closed

Fix bugs across ecommerce store#237
Xenon010101 wants to merge 1 commit into
Indie-Kart:mainfrom
Xenon010101:fix/various-bugs

Conversation

@Xenon010101
Copy link
Copy Markdown

��## Summary
Fixed 5+ bugs in the ecommerce-store codebase:

Bug Fixes

  1. Removed debug console.log in category page � leaked params and searchParams to browser console in production
  2. Fixed SSR crash from window.location.href � window is undefined during SSR; moved to useEffect-guarded state
  3. Fixed stale closure in share toggle � setChecker used closure variable instead of updater parameter, causing incorrect state toggling
  4. Removed production console.logs from share handler � success/log messages leaked to console
  5. Removed commented-out console.log � cleaned up dead code

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.

1 participant