Skip to content

Commit

Permalink
deploy: fix github io 404
Browse files Browse the repository at this point in the history
  • Loading branch information
hemengke1997 committed Aug 29, 2024
1 parent 86592be commit 9b293d0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
10 changes: 2 additions & 8 deletions playground/app/main.tsx
Original file line number Diff line number Diff line change
@@ -1,17 +1,11 @@
import { startTransition } from 'react'
import ReactDOM from 'react-dom/client'
import { createBrowserRouter, RouterProvider } from 'react-router-dom'
import { createHashRouter, RouterProvider } from 'react-router-dom'
import { routes } from 'virtual:remix-flat-routes'
import './index.css'

const root = ReactDOM.createRoot(document.querySelector('#root')!)

startTransition(() => {
root.render(
<RouterProvider
router={createBrowserRouter(routes, {
basename: '/use-antd-resizable-header',
})}
/>,
)
root.render(<RouterProvider router={createHashRouter(routes)} />)
})
2 changes: 1 addition & 1 deletion playground/app/routes/_layout/basic/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ export function Component() {
resetColumns()
}}
>
重置
Reset
</Button>
</div>
)
Expand Down

0 comments on commit 9b293d0

Please sign in to comment.