feat(client): migrate to Gatsby v5 and React 18 (#65729)

Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com>
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
This commit is contained in:
Sem Bauke
2026-02-11 19:15:32 +01:00
committed by GitHub
parent 1ecd36c440
commit 30bcf40381
65 changed files with 3979 additions and 5867 deletions
+2 -2
View File
@@ -1,10 +1,10 @@
import React, { type ReactElement } from 'react';
import React, { type ReactElement, type ReactNode } from 'react';
import { render as rtlRender } from '@testing-library/react';
import { Provider } from 'react-redux';
import type { Store } from 'redux';
function render(ui: ReactElement, store: Store) {
function Wrapper({ children }: { children: ReactElement }) {
function Wrapper({ children }: { children: ReactNode }) {
return <Provider store={store}>{children}</Provider>;
}
return rtlRender(ui, { wrapper: Wrapper });