Fix types

This commit is contained in:
Alejandro Celaya
2026-05-12 19:34:18 +02:00
parent 4286e89202
commit 268c1fb454
6 changed files with 5 additions and 778 deletions

View File

@@ -11,7 +11,7 @@ describe('<MainHeader />', () => {
history.push(pathname);
return renderWithStore(
<Router location={history.location} navigator={history} unstable_useTransitions={false}>
<Router location={history.location} navigator={history}>
<MainHeader />
</Router>,
);

View File

@@ -29,7 +29,7 @@ describe('<CreateServer />', () => {
return {
history,
...renderWithStore(
<Router location={history.location} navigator={history} unstable_useTransitions={false}>
<Router location={history.location} navigator={history}>
<CreateServer useTimeoutToggle={useTimeoutToggle} />
</Router>,
{

View File

@@ -11,7 +11,7 @@ describe('<DeleteServerButton />', () => {
const setUp = (children: ReactNode = 'Remove this server') => {
const history = createMemoryHistory({ initialEntries: ['/foo'] });
const result = renderWithStore(
<Router location={history.location} navigator={history} unstable_useTransitions={false}>
<Router location={history.location} navigator={history}>
<DeleteServerButton server={fromPartial({})}>{children}</DeleteServerButton>
</Router>,
);

View File

@@ -20,7 +20,7 @@ describe('<EditServer />', () => {
return {
history,
...renderWithStore(
<Router location={history.location} navigator={history} unstable_useTransitions={false}>
<Router location={history.location} navigator={history}>
<EditServer />
</Router>,
{