Prevent sidebar re-render on every keypress (#152)

This commit is contained in:
Gregory Schier
2024-12-31 15:02:10 -08:00
committed by GitHub
parent 135c366e32
commit dfca17f9b7
32 changed files with 926 additions and 768 deletions

View File

@@ -167,7 +167,7 @@ export function TextViewer({
language={language}
actions={actions}
extraExtensions={extraExtensions}
stateKey={null}
stateKey={`response_text.${responseId}`}
/>
);
}