Skip to content

Commit

Permalink
Merge pull request #113 from dappforce/fix-creator-links
Browse files Browse the repository at this point in the history
Fix creator links
  • Loading branch information
olehmell authored Dec 1, 2023
2 parents 9d980f8 + 0b857f2 commit 90a6735
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 27 deletions.
31 changes: 9 additions & 22 deletions public/tailwind.css
Original file line number Diff line number Diff line change
Expand Up @@ -1299,6 +1299,11 @@ video {
background-color: rgb(0 0 0 / var(--tw-bg-opacity));
}

.bg-blue-50 {
--tw-bg-opacity: 1;
background-color: rgb(239 246 255 / var(--tw-bg-opacity));
}

.bg-gray-100 {
--tw-bg-opacity: 1;
background-color: rgb(243 244 246 / var(--tw-bg-opacity));
Expand Down Expand Up @@ -1338,24 +1343,6 @@ video {
background-color: rgb(255 255 255 / var(--tw-bg-opacity));
}

.bg-\[\] {
background-color: ;
}

.bg-\[\#EEF2FF\] {
--tw-bg-opacity: 1;
background-color: rgb(238 242 255 / var(--tw-bg-opacity));
}

.bg-\[\#s\] {
background-color: #s;
}

.bg-blue-50 {
--tw-bg-opacity: 1;
background-color: rgb(239 246 255 / var(--tw-bg-opacity));
}

.bg-opacity-25 {
--tw-bg-opacity: 0.25;
}
Expand Down Expand Up @@ -1524,6 +1511,10 @@ video {
padding-bottom: 0.75rem;
}

.pb-\[1px\] {
padding-bottom: 1px;
}

.pl-0 {
padding-left: 0px;
}
Expand Down Expand Up @@ -2257,10 +2248,6 @@ video {
flex-direction: row;
}

.md\:flex-col {
flex-direction: column;
}

.md\:items-start {
align-items: flex-start;
}
Expand Down
2 changes: 1 addition & 1 deletion src/components/creatorsStaking/Creators/AccountPreview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ const AccountPreview = ({ space, spaceId }: AccountPreviewProps) => {
)

const accountDesc = (
<div className='flex flex-col gap-2'>
<div className='flex flex-col gap-2 pb-[1px]'>
{!!postsCount && postsLink}
<ContactInfo
className={clsx('text-[#64748B]')}
Expand Down
2 changes: 1 addition & 1 deletion src/components/creatorsStaking/Creators/CreatorCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ CreatorCardProps) => {
</div>
)

const contactInfo = { email, links }
const contactInfo = { email, links: links?.filter(x => x !== 'null') }

const onChatButtonClick = (e: React.MouseEvent<HTMLElement>) => {
e.stopPropagation()
Expand Down
2 changes: 1 addition & 1 deletion src/components/creatorsStaking/utils/GetSubInfoSection.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export const GetSubInfoSection = () => {
const subBalance = balanceByNetwork?.info?.['SUB']
const transferableBalance = getTransferableBalance(subBalance)
return !transferableBalance.isZero() || loading
}, [loading])
}, [ loading ])

if (hideInfoSection) return null

Expand Down
2 changes: 0 additions & 2 deletions src/components/transfer/configs/cross-chain.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,6 @@ hydraTokensConfig.SUB = {
toRaw: () => 24, // 24 is the token id for SUB in Hydra DX
}

console.log(hydraRouteConfigs, hydraTokensConfig)

const availableAdapters: Record<string, { adapter: BaseCrossChainAdapter; chainName?: ChainId }> = {
polkadot: {
adapter: new PolkadotAdapter(),
Expand Down

0 comments on commit 90a6735

Please sign in to comment.