Skip to content

Commit

Permalink
fix docs routing (#3206)
Browse files Browse the repository at this point in the history
* fix docs routing

* changelog

* changelog

---------

Co-authored-by: Lea Anthony <[email protected]>
  • Loading branch information
doracpphp and leaanthony authored Mar 24, 2024
1 parent 311aee3 commit 37aa2c4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion website/docs/guides/routing.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ RouterModule.forRoot(routes, { useHash: true });
The recommended approach for routing in React is [HashRouter](https://reactrouter.com/en/main/router-components/hash-router):

```jsx
import { HashRouter } from "react-router-dom";
import { HashRouter, Routes, Route } from "react-router-dom";

ReactDOM.render(
<HashRouter basename={"/"}>
Expand Down
1 change: 1 addition & 0 deletions website/src/pages/changelog.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Docs for IsZoomControlEnabled and ZoomFactor. Fixed by @leaanthony in [PR](https://github.com/wailsapp/wails/pull/3137)
- Fixed `-compiler` flag for `wails build`, `wails dev` and `wails generate module`. Fixed in [PR](https://github.com/wailsapp/wails/pull/3121) by [@xtrafrancyz](https://github.com/xtrafrancyz)
- Fixed uninitialized `SecondInstanceData.WorkingDirectory` on linux and windows ([#3154](https://github.com/wailsapp/wails/pull/3154)).
- Fixed React Routing documentation add 'Routes' and 'Route'. Fixed by @doracpphp in [PR](https://github.com/wailsapp/wails/pull/3206)
- Fixed save file dialog not appending file extension automatically on Windows by @almas1992 in [PR](https://github.com/wailsapp/wails/pull/3205)
- Fixed compatibility for wails cli being built with go 1.22 and later. Fixed by @stffabi in [PR](https://github.com/wailsapp/wails/pull/3244)
- Fixed documentation for Window API return types. Fixed by @jangler in [PR](https://github.com/wailsapp/wails/pull/3247)
Expand Down

0 comments on commit 37aa2c4

Please sign in to comment.