Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

move source range data into Sources #6146

Merged
merged 3 commits into from Jul 24, 2023
Merged

move source range data into Sources #6146

merged 3 commits into from Jul 24, 2023

Conversation

eggplantzzz
Copy link
Contributor

The visual debugger currently stores data for the current source range at a high level of the component structure. It also relies on re-renders to set the data as it is not stored in the state. This PR creates a state variable for it and moves it into the Sources component. It now also updates the current source range data in a useEffect hook.

@eggplantzzz eggplantzzz merged commit 9ec657f into develop Jul 24, 2023
10 checks passed
@eggplantzzz eggplantzzz deleted the correct-variables branch July 24, 2023 17:56
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants