Skip to content

armgit / fider

Public Imported from GitHub
0

Open platform to collect and prioritize feedback

fix: use hostname for powered by link

goenning2e3f264346d0
diff --git a/public/components/common/PoweredByFider.tsx b/public/components/common/PoweredByFider.tsx
index 1618eb6a9..3227610d5 100644
--- a/public/components/common/PoweredByFider.tsx
+++ b/public/components/common/PoweredByFider.tsx
@@ -1,5 +1,4 @@
import React from "react"
-import { useFider } from "@fider/hooks"
import { classSet } from "@fider/services"
import "./PoweredByFider.scss"
@@ -10,9 +9,7 @@ interface PoweredByFiderProps {
}
export const PoweredByFider = (props: PoweredByFiderProps) => {
- const fider = useFider()
-
- const source = encodeURIComponent(fider.session.tenant.subdomain)
+ const source = encodeURIComponent(location.host)
const medium = "powered-by"
const campaign = props.slot