diff --git a/examples/concurrent/src/routing/index.tsx b/examples/concurrent/src/routing/index.tsx index 127a7f124..de33eeca3 100644 --- a/examples/concurrent/src/routing/index.tsx +++ b/examples/concurrent/src/routing/index.tsx @@ -1,4 +1,4 @@ -import { RouteController } from '@anansi/router'; +import { Router } from '@anansi/router'; import type { History } from 'history'; import NotFound from '@/components/NotFound'; @@ -6,7 +6,7 @@ import NotFound from '@/components/NotFound'; import { routes, namedPaths } from './routes'; export function createRouter(history: History) { - return new RouteController({ + return new Router({ history, namedPaths, routes,