Skip to content

Commit

Permalink
docs: update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
gary-Shen committed Nov 7, 2023
1 parent 4896c8f commit 85604df
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ import routes from './routes';

export default function App() {
return (
<RouterContainer routes={routes} basename='/labelU/' />
<RouterContainer routes={routes} basename='/labelU' />
);
}
2 changes: 1 addition & 1 deletion src/components/router-container/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*/
import React, { useEffect, useMemo } from 'react';
import type { RouteObject, UIMatch } from 'react-router-dom';
import { createHashRouter, createHashRouter, createRoutesFromElements, Route, RouterProvider, useMatches } from 'react-router-dom';
import { createHashRouter, createRoutesFromElements, Route, RouterProvider, useMatches } from 'react-router-dom';

export type RouteWithParent = RouteObject & {
parent: RouteWithParent | null;
Expand Down

0 comments on commit 85604df

Please sign in to comment.