Remove unused data-cy attributes

This commit is contained in:
Misode
2024-11-19 15:14:10 +01:00
parent 72fe13fcdc
commit 0b7e9b6948
4 changed files with 7 additions and 7 deletions

View File

@@ -216,7 +216,7 @@ export function SourcePanel({ docAndNode, doCopy, doDownload, doImport, copySucc
{window.matchMedia('(pointer: coarse)').matches && <>
<Btn icon="paste" onClick={importFromClipboard} />
</>}
<BtnMenu icon="gear" tooltip={locale('output_settings')} data-cy="source-controls">
<BtnMenu icon="gear" tooltip={locale('output_settings')}>
{getSourceIndents().map(key =>
<Btn label={locale(`indentation.${key}`)} active={indent === key}
onClick={() => changeIndent(key)}/>