From 85604df339dc9c751c4298bd67621800eaeb269b Mon Sep 17 00:00:00 2001 From: gary-Shen Date: Tue, 7 Nov 2023 13:29:38 +0800 Subject: [PATCH] docs: update docs --- src/App.tsx | 2 +- src/components/router-container/index.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/App.tsx b/src/App.tsx index 6b11adfb..3d03d679 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -4,6 +4,6 @@ import routes from './routes'; export default function App() { return ( - + ); } diff --git a/src/components/router-container/index.tsx b/src/components/router-container/index.tsx index 6735b2c6..e3e2c2d0 100644 --- a/src/components/router-container/index.tsx +++ b/src/components/router-container/index.tsx @@ -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;