From d25353407ec6c7ae6faac8e33ae4813964c3df28 Mon Sep 17 00:00:00 2001 From: Saahil Date: Thu, 11 Jul 2024 09:30:54 -0400 Subject: [PATCH] show main url on onion page --- src/components/footer/index.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/footer/index.tsx b/src/components/footer/index.tsx index b99cbc8e..7936fcde 100644 --- a/src/components/footer/index.tsx +++ b/src/components/footer/index.tsx @@ -5,6 +5,7 @@ import bento from '../../assets/bento.svg' import tor from '../../assets/tor.svg' import './index.css' import { useEffect, useState } from 'react' +import { LuGlobe } from 'react-icons/lu' type DiscordStatus = "dnd" | "idle" | "online" | "offline" type Data = { discord_status: DiscordStatus, @@ -66,7 +67,7 @@ export default function Footer () { : null} - +{window.location.hostname.includes('.onion') ? : } {/*