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' ...@@ -5,19 +5,16 @@ import { subhead } from 'nft/css/common.css'
import { themeVars } from 'nft/css/sprinkles.css' import { themeVars } from 'nft/css/sprinkles.css'
import styled from 'styled-components/macro' import styled from 'styled-components/macro'
const StyledColumn = styled(Column)<{ isProfilePage?: boolean }>` const StyledColumn = styled(Column)`
gap: ${({ isProfilePage }) => !isProfilePage && '12'}px; gap: 12px;
margin-top: 68px; margin-top: 68px;
display: ${({ isProfilePage }) => isProfilePage && 'flex'};
justify-content: ${({ isProfilePage }) => isProfilePage && 'center'};
height: ${({ isProfilePage }) => isProfilePage && 'inherit'};
` `
const EmptyState = () => { const EmptyState = () => {
const isProfilePage = useIsNftProfilePage() const isProfilePage = useIsNftProfilePage()
return ( return (
<StyledColumn isProfilePage={isProfilePage}> <StyledColumn>
<Center> <Center>
{isProfilePage ? ( {isProfilePage ? (
<LargeTagIcon color={themeVars.colors.textTertiary} /> <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