Skip to content

Commit

Permalink
fix: Add search params on renderer
Browse files Browse the repository at this point in the history
  • Loading branch information
dogukanoksuz committed Feb 23, 2024
1 parent 35fab11 commit 1c7d06a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/components/extension/renderer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,12 @@ export default function ExtensionRenderer() {
}
}

// Add browser search queries to the slug
const searchParams = new URLSearchParams(window.location.search)
if (searchParams.toString()) {
slug += `?${searchParams.toString()}`
}

apiService
.getInstance()
.post(
Expand Down

0 comments on commit 1c7d06a

Please sign in to comment.