Closed memoyil closed 1 month ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
web | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Oct 25, 2024 9:19am |
Latest commit: 6566a539ff66872833eab44128d865d76c5091bd
Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.
Click here to learn what changesets are, and how to add one.
Click here if you're a maintainer who wants to add a changeset to this PR
Issues:
If pcsx feature enabled and there is no user setting, disabling it not make reset button appear.
Disabling the pcsx feature not work on first click and it has to be clicked again
PR-Codex overview
This PR focuses on enhancing the
usePCSX
hook and related state management in thesmartRouter
module by adding a reset functionality and improving the handling of user preferences.Detailed summary
usePCSX
to return a reset function along with state.useCallback
for setting user preferences inusePCSX
.useUserXEnable
to return a reset function.useRoutingSettingChanged
to include reset functionality for routing settings.