Commit d7bc0aaf authored by Charles Bachmeier's avatar Charles Bachmeier Committed by GitHub

fix: empty sell tag state (#5295)

fix empty sell tag state
Co-authored-by: default avatarCharles Bachmeier <charlie@genie.xyz>
parent f50e0ca9
......@@ -5,19 +5,16 @@ import { subhead } from 'nft/css/common.css'
import { themeVars } from 'nft/css/sprinkles.css'
import styled from 'styled-components/macro'
const StyledColumn = styled(Column)<{ isProfilePage?: boolean }>`
gap: ${({ isProfilePage }) => !isProfilePage && '12'}px;
const StyledColumn = styled(Column)`
gap: 12px;
margin-top: 68px;
display: ${({ isProfilePage }) => isProfilePage && 'flex'};
justify-content: ${({ isProfilePage }) => isProfilePage && 'center'};
height: ${({ isProfilePage }) => isProfilePage && 'inherit'};
`
const EmptyState = () => {
const isProfilePage = useIsNftProfilePage()
return (
<StyledColumn isProfilePage={isProfilePage}>
<StyledColumn>
<Center>
{isProfilePage ? (
<LargeTagIcon color={themeVars.colors.textTertiary} />
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment