Update slack.js

This commit is contained in:
Sam Poder 2023-08-08 20:09:56 -04:00 committed by GitHub
parent 8c38f45f10
commit 1e07eb7d27
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -113,7 +113,7 @@ export default function Slack({ data, slackKey, events }) {
<Buttons id="13" link="/slack" icon="slack" primary="purple">
Join our Slack
</Buttons>
<Grid sx={{ zIndex: 2, display: data === {} ? 'none' : 'block' }}>
<Grid sx={{ zIndex: 2, display: data?.chats_channels_count_1d > 0 ? 'block' : 'none' }}>
<Box
sx={{
background: 'rgb(0,0,0,0.6)',