We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 37618c1 commit ee472b8Copy full SHA for ee472b8
src/pages/bsky.tsx
@@ -21,7 +21,13 @@ const Bksy = () => {
21
const [reccomendationDetails, setReccomendationDetails] = useState<
22
IReccomendationDetails[]
23
>([])
24
- const myHandle = "coilysiren.me"
+
25
+ var myHandle
26
+ // get the "handle" query parameter
27
+ if (window?.location?.search != null) {
28
+ const urlParams = new URLSearchParams(window.location.search)
29
+ myHandle = urlParams.get("handle")
30
+ }
31
32
console.log("component remounted")
33
0 commit comments