Skip to content

Commit

Permalink
fix: location.search not work (#842)
Browse files Browse the repository at this point in the history
  • Loading branch information
clansty authored Jul 22, 2024
1 parent 5b4c115 commit 614430e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/Setup.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ export default () => {
}

onMount(() => {
let search = location.search
let search = location.search || window.location.search

if (search) {
const searchList = location.hash.match(/\?.*$/)
Expand Down

0 comments on commit 614430e

Please sign in to comment.