HomePage: hide donation widgets until logged in
This commit is contained in:
parent
a131f274b4
commit
ae86a17ea1
|
@ -108,12 +108,12 @@ const HomePage: React.FC<IHomePage> = ({ children }) => {
|
|||
{Component => <Component limit={5} />}
|
||||
</BundleContainer>
|
||||
)}
|
||||
{hasPatron && (
|
||||
{(hasPatron && me) && (
|
||||
<BundleContainer fetchComponent={FundingPanel}>
|
||||
{Component => <Component />}
|
||||
</BundleContainer>
|
||||
)}
|
||||
{hasCrypto && cryptoLimit > 0 && (
|
||||
{(hasCrypto && cryptoLimit > 0 && me) && (
|
||||
<BundleContainer fetchComponent={CryptoDonatePanel}>
|
||||
{Component => <Component limit={cryptoLimit} />}
|
||||
</BundleContainer>
|
||||
|
|
Loading…
Reference in New Issue