Skip to content

Commit

Permalink
Fix react tree bug with buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
Alwinfy committed Sep 25, 2023
1 parent 56f21b0 commit d183a8f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/ActivityButtons.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ function OverrideLocations(props: { state: State; secs: Sections }) {
const [room, setRoom] = useState(secs.roomOverride);
const onRelocate = () => {
setIsOverriding(true);
setRoom(secs.roomOverride);
};
const onConfirm = () => {
secs.roomOverride = room.trim();
Expand Down

0 comments on commit d183a8f

Please sign in to comment.