-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add edit mode to test panel #232
Conversation
components/src/stores/chip.store.ts
Outdated
dispatch.current({ | ||
action: "updateChip", | ||
payload: { invalid: true, error }, | ||
}); | ||
return; | ||
} | ||
setStatus(`HDL code: No syntax errors`); | ||
invalid ||= false; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this do anything?
If invalid is false, it updates to false
If invalid is true, it does not update
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, you're right! Not sure what I was thinking.
components/src/stores/chip.store.ts
Outdated
return false; | ||
} | ||
|
||
test = ChipTest.from(Ok(tst)).with(chip).reset(); | ||
test.setFileSystem(fs); | ||
dispatch.current({ action: "updateTestStep" }); | ||
invalid ||= false; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Noop
No description provided.