Skip to content

Commit

Permalink
docs(demo): Use Router import
Browse files Browse the repository at this point in the history
  • Loading branch information
ntucker committed Sep 29, 2024
1 parent 3f1a11f commit 03dd95b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/concurrent/src/routing/index.tsx
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import { RouteController } from '@anansi/router';
import { Router } from '@anansi/router';
import type { History } from 'history';

import NotFound from '@/components/NotFound';

import { routes, namedPaths } from './routes';

export function createRouter(history: History) {
return new RouteController({
return new Router({
history,
namedPaths,
routes,
Expand Down

0 comments on commit 03dd95b

Please sign in to comment.