Updated online status
This commit is contained in:
@@ -204,7 +204,20 @@ export default function Sidebar({ level, ign, player, guild, rank, specialRank,
|
||||
}
|
||||
|
||||
function OnlineStatus() {
|
||||
if (!session?.online) return null
|
||||
if (!session?.online) {
|
||||
return (
|
||||
<>
|
||||
<div className="flex flex-col gap-2">
|
||||
<h2 className="text-xl font-bold">Online Status</h2>
|
||||
<p>
|
||||
<span className="font-bold">{"Status: "}</span>
|
||||
<span>Offline</span>
|
||||
</p>
|
||||
</div>
|
||||
<Separator className="my-4" />
|
||||
</>
|
||||
)
|
||||
}
|
||||
|
||||
const noMapGameTypes = ["BUILD_BATTLE", "HOUSING", "REPLAY"]
|
||||
const noMapArcadeModes = [
|
||||
|
||||
Reference in New Issue
Block a user