Skip to content

Commit

Permalink
fix: dropdown picker no longer breaks
Browse files Browse the repository at this point in the history
  • Loading branch information
crutchcorn committed Jan 15, 2024
1 parent 2e6efb0 commit 9c3047d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/routes/form.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ export const useReactFormDocsConfig = () => {
...match.params,
framework: option.value,
})
localStorage.setItem(formLocalStorageKey, option.value)
localStorage.setItem('framework', option.value)

navigate(url, { state: { framework } })
},
Expand Down
2 changes: 1 addition & 1 deletion app/routes/store.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ export const useReactStoreDocsConfig = () => {
...match.params,
framework: option.value,
})
localStorage.setItem(storeLocalStorageKey, option.value)
localStorage.setItem('framework', option.value)

navigate(url)
},
Expand Down

0 comments on commit 9c3047d

Please sign in to comment.