Skip to content

Commit

Permalink
fix: invalid url
Browse files Browse the repository at this point in the history
  • Loading branch information
robot9706 committed Dec 2, 2024
1 parent 044dc34 commit 8c6c722
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions web/crux-ui/src/routes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,10 @@ const appendUrlParams = (url: string, params?: AnchorUrlParams): string => {
}

const urlQuery = (url: string, query: object) => {
if (!query) {
return url
}

const params = Object.entries(query)
.map(it => {
const [key, value] = it
Expand Down

0 comments on commit 8c6c722

Please sign in to comment.