Skip to content

Commit

Permalink
Merge pull request #1196 from City-of-Helsinki/UHF-11462_linkedevents…
Browse files Browse the repository at this point in the history
…_cleanup

UHF-11462: Fix to remove duplicate query parameters from linkedevents api request url
  • Loading branch information
wktohesi authored Feb 21, 2025
2 parents 19bddd6 + d1a2d40 commit 1567c42
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist/js/linkedevents.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/js/react/apps/linkedevents/store.ts
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ export const baseUrlAtom = atom(

export const initialUrlAtom = atom(
(get) => {
const baseUrl = get(baseAtom)?.initialUrl;
const baseUrl = get(baseAtom)?.baseUrl;
const initialParams = get(initialParamsAtom);

return `${baseUrl}?${initialParams.toString()}`;
Expand Down

0 comments on commit 1567c42

Please sign in to comment.