Merge pull request #297 from h3y6e/global-tab
Fix blackout when selecting global tab
This commit is contained in:
commit
1a09d13e4b
@ -84,11 +84,10 @@ export default function RootPage() {
|
|||||||
return { type: "pubkey", items: follows, discriminator: "follows" };
|
return { type: "pubkey", items: follows, discriminator: "follows" };
|
||||||
})();
|
})();
|
||||||
|
|
||||||
if (isGlobal && globalRelays.length === 0) return null;
|
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<div className="main-content">{pubKey && <Tabs tabs={tabs} tab={tab} setTab={setTab} />}</div>
|
<div className="main-content">{pubKey && <Tabs tabs={tabs} tab={tab} setTab={setTab} />}</div>
|
||||||
{isGlobal && (
|
{isGlobal && globalRelays.length > 0 && (
|
||||||
<div className="flex mb10">
|
<div className="flex mb10">
|
||||||
<div className="f-grow">
|
<div className="f-grow">
|
||||||
<FormattedMessage
|
<FormattedMessage
|
||||||
|
Loading…
x
Reference in New Issue
Block a user