Skip to content

Commit

Permalink
Fix incorrect navigation import in basic app template
Browse files Browse the repository at this point in the history
  • Loading branch information
lemonmade committed Aug 20, 2024
1 parent 0cdca9a commit 4326b09
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/odd-books-impress.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@quilted/create': patch
---

Fix incorrect navigation import in basic app template
4 changes: 2 additions & 2 deletions packages/create/templates/app-basic/tests/render/render.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import {createRender} from '@quilted/quilt/testing';
import {BrowserContext, BrowserTestMock} from '@quilted/quilt/browser/testing';
import {TestRouting, TestRouter} from '@quilted/quilt/navigation/testing';
import {Navigation, TestRouter} from '@quilted/quilt/navigation/testing';
import {Localization} from '@quilted/quilt/localize';

import {AppContextReact} from '~/shared/context.ts';
Expand Down Expand Up @@ -31,7 +31,7 @@ export const renderApp = createRender<
<AppContextReact.Provider value={context}>
<BrowserContext browser={browser}>
<Localization locale={locale}>
<TestRouting router={router}>{element}</TestRouting>
<Navigation router={router}>{element}</Navigation>
</Localization>
</BrowserContext>
</AppContextReact.Provider>
Expand Down

0 comments on commit 4326b09

Please sign in to comment.