Prettier fixes

This commit is contained in:
Fred Carlsen
2019-02-25 15:32:57 +01:00
parent 079f627b34
commit cf65d4a909
5 changed files with 14 additions and 12 deletions

View File

@@ -34,9 +34,7 @@ export const AboutPageLayout = (props: Props) => (
<Column width="100%" maxWidth="680px">
<AnimatedHeading size="medium">{props.title}</AnimatedHeading>
<AnimatedIntro>
{props.description}
</AnimatedIntro>
<AnimatedIntro>{props.description}</AnimatedIntro>
{props.linkLabel && (props.href || props.to) && (
<AnimatedLink

View File

@@ -38,7 +38,10 @@ export const NextAboutMission = () => (
description={
<>
<Paragraph size="medium" marginBottom="60px" isMuted={0.65}>
0x is important infrastructure for the emerging crypto economy and enables markets to be created that couldn't have existed before. As more assets become tokenized, public blockchains provide the opportunity to establish a new financial stack that is more efficient, transparent, and equitable than any system in the past.
0x is important infrastructure for the emerging crypto economy and enables markets to be created
that couldn't have existed before. As more assets become tokenized, public blockchains provide the
opportunity to establish a new financial stack that is more efficient, transparent, and equitable
than any system in the past.
</Paragraph>
</>
}

View File

@@ -194,7 +194,10 @@ export const NextAboutTeam = () => (
description={
<>
<Paragraph size="medium" marginBottom="60px" isMuted={0.65}>
We are a distributed team with backgrounds in engineering, academic research, business, and design. The 0x Core Team is passionate about accelerating the adoption decentralized technology and believe in its potential to be an equalizing force in the world. Join us and do the most impactful work of your life.
We are a distributed team with backgrounds in engineering, academic research, business, and design.
The 0x Core Team is passionate about accelerating the adoption decentralized technology and believe
in its potential to be an equalizing force in the world. Join us and do the most impactful work of
your life.
</Paragraph>
</>
}

View File

@@ -30,7 +30,8 @@ const extensionData: Extension[] = [
links: [
{
text: 'Learn More',
url: 'https://github.com/0xProject/0x-monorepo/blob/development/contracts/extensions/contracts/src/DutchAuction/DutchAuction.sol',
url:
'https://github.com/0xProject/0x-monorepo/blob/development/contracts/extensions/contracts/src/DutchAuction/DutchAuction.sol',
},
],
},
@@ -52,7 +53,8 @@ const extensionData: Extension[] = [
links: [
{
text: 'Learn More',
url: 'https://github.com/0xProject/0x-protocol-specification/blob/master/v2/v2-specification.md#whitelist',
url:
'https://github.com/0xProject/0x-protocol-specification/blob/master/v2/v2-specification.md#whitelist',
},
],
},

View File

@@ -29,11 +29,7 @@ export const Select: React.FunctionComponent<SelectProps> = ({
<StyledSelect id={id} onChange={onChange} defaultValue={value}>
{shouldIncludeEmpty && <option value="">{emptyText}</option>}
{items.map((item, index) => (
<option
key={`${id}-item-${index}`}
value={item.value}
onClick={item.onClick}
>
<option key={`${id}-item-${index}`} value={item.value} onClick={item.onClick}>
{item.label}
</option>
))}