Skip to content

Commit 015e2ec

Browse files
authored
fix(widget): layout size change (#345)
1 parent 27840ac commit 015e2ec

3 files changed

Lines changed: 6 additions & 43 deletions

File tree

.changeset/purple-gifts-reply.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@stakekit/widget": patch
3+
---
4+
5+
fix(widget): layout size change

packages/examples/with-vite-bundled/CHANGELOG.md

Lines changed: 0 additions & 42 deletions
This file was deleted.

packages/widget/src/App.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ const Widget = () => {
118118
* Dont unmount details page with tabs
119119
* Handle position details pages in their own Routes
120120
*/
121-
const key = detailsMatch ? "/" : current.pathname;
121+
const key = detailsMatch ? "/" : current.key;
122122

123123
if (underMaintenance) return <UnderMaintenance />;
124124

0 commit comments

Comments
 (0)