Skip to content

Commit

Permalink
fix: removed extra / from base URL (#1232)
Browse files Browse the repository at this point in the history
  • Loading branch information
ShravaniRoy authored Nov 29, 2024
1 parent 5c78a09 commit 7975454
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/(default)/components/SharePageURLButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import { ControlledTooltip } from '@/components/ui/Tooltip'
*/
export const SharePageURLButton: React.FC<{ path: string, name: string }> = ({ path, name }) => {
const slug = getFriendlySlug(name)
const url = `https://openbeta.io/${path}/${slug}`
const url = `https://openbeta.io${path}/${slug}`

const [clicked, setClicked] = useState(false)

Expand Down

0 comments on commit 7975454

Please sign in to comment.