Explorer: Disable raw button for unknown instructions (#13260)

This commit is contained in:
Justin Starry
2020-10-29 10:27:37 +08:00
committed by GitHub
parent 2cf44a9e14
commit a74f0f90e4

View File

@ -38,6 +38,7 @@ export function InstructionCard({
</h3>
<button
disabled={defaultRaw}
className={`btn btn-sm d-flex ${
showRaw ? "btn-black active" : "btn-white"
}`}