Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .changeset/spotty-pianos-shave.md
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
---
---

Test-only change: removed two `eslint-disable-next-line react-hooks/static-components` directives that the rule no longer needs in the record-picker i18n test files. No published behaviour changes.
Original file line numberDiff line numberDiff line change
Expand Up@@ -62,7 +62,6 @@ function renderPicker(properties: Record<string, unknown>, language = 'en') {
persistLanguage={false}
config={{ defaultLanguage: language, detectBrowserLanguage: false }}
>
{/* eslint-disable-next-line react-hooks/static-components -- ComponentRegistry.get returns the registered component (stable), not one created during render */}
<C schema={{ type: 'element:record_picker', id: 'picker', properties }} />
</I18nProvider>,
);
Expand Down
Original file line numberDiff line numberDiff line change
Expand Up@@ -68,7 +68,6 @@ function renderPicker(properties: Record<string, unknown>, language = 'en') {
persistLanguage={false}
config={{ defaultLanguage: language, detectBrowserLanguage: false }}
>
{/* eslint-disable-next-line react-hooks/static-components -- ComponentRegistry.get returns the registered component (stable), not one created during render */}
<C schema={{ type: 'element:record_picker', id: 'picker', properties }} />
</I18nProvider>,
);
Expand Down
Loading