Merge pull request #29287 from overleaf/mj-recompile-button-key-warning

[web] Avoid react key warning for recompile button

GitOrigin-RevId: e7334ece38a1ae177244ba3afbaaec9190c967ee
This commit is contained in:
Mathias Jakobsen
2025-10-27 09:19:17 +00:00
committed by Copybot
parent 43a80ef8a5
commit 8767bcd891

View File

@@ -25,12 +25,11 @@ export default function RenderingErrorExpectedState() {
]}
/>
}
actions={[
// eslint-disable-next-line react/jsx-key
actions={
<OLButton variant="primary" size="sm" onClick={() => startCompile()}>
{t('recompile')}
</OLButton>,
]}
</OLButton>
}
extraContent={<ClsiCachePrompt />}
/>
)