Skip to content

Commit

Permalink
Hail mary URL fix attempt
Browse files Browse the repository at this point in the history
  • Loading branch information
alukach authored Oct 24, 2024
1 parent e43eacb commit 559df5e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/src/store/query/utils.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { QueryState } from "./query.reducer";

export const getQueryFromString = (url: string) =>
decodeURIComponent(url)
.split(" ")
decodeURIComponent(url.slice(2))
.split("+")
.map(v => v.split(":"))
.reduce(
(acc, v) => ({
Expand Down

0 comments on commit 559df5e

Please sign in to comment.