mirror of
https://github.com/cs01/termpair.git
synced 2026-04-26 13:05:52 +03:00
[PR #69] [MERGED] replace status effect with function #75
Labels
No labels
good first issue
help wanted
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/termpair#75
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/cs01/termpair/pull/69
Author: @cs01
Created: 7/24/2021
Status: ✅ Merged
Merged: 7/25/2021
Merged by: @cs01
Base:
master← Head:cs01/set-status-effect📝 Commits (1)
8d58caareplace status useEffect function📊 Changes
1 file changed (+22 additions, -19 deletions)
View changed files
📝
termpair/frontend_src/src/App.tsx(+22 -19)📄 Description
Summary of changes
useEffectfor status changes was unnecessary. Replaced with a function that updates the state ofstatus, then calls the status change handler.Test plan
Tested by running
then interact with browser to induce various states.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.