aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/website/ts')
-rw-r--r--packages/website/ts/pages/jobs/benefits.tsx6
-rw-r--r--packages/website/ts/pages/jobs/open_positions.tsx3
2 files changed, 4 insertions, 5 deletions
diff --git a/packages/website/ts/pages/jobs/benefits.tsx b/packages/website/ts/pages/jobs/benefits.tsx
index c5c636c23..bc4edf973 100644
--- a/packages/website/ts/pages/jobs/benefits.tsx
+++ b/packages/website/ts/pages/jobs/benefits.tsx
@@ -5,7 +5,7 @@ import { Circle } from 'ts/components/ui/circle';
import { Container } from 'ts/components/ui/container';
import { FilledImage } from 'ts/components/ui/filled_image';
import { Image } from 'ts/components/ui/image';
-import { Text } from 'ts/components/ui/Text';
+import { Text } from 'ts/components/ui/text';
import { colors } from 'ts/style/colors';
import { ScreenWidths } from 'ts/types';
import { constants } from 'ts/utils/constants';
@@ -79,7 +79,7 @@ const BenefitsList = () => {
return (
<Container maxWidth="360px">
<Header>Benefits</Header>
- {_.map(BENEFITS, benefit => <BenefitItem description={benefit} />)}
+ {_.map(BENEFITS, benefit => <BenefitItem key={benefit} description={benefit} />)}
</Container>
);
};
@@ -107,7 +107,7 @@ const ValuesList = () => {
return (
<Container maxWidth="360px">
<Header>Our Values</Header>
- {_.map(VALUES, value => <ValueItem {...value} />)}
+ {_.map(VALUES, value => <ValueItem key={value.text} {...value} />)}
<Text fontSize="14px" lineHeight="26px">
We care deeply about our mission and encourage you to{' '}
<a
diff --git a/packages/website/ts/pages/jobs/open_positions.tsx b/packages/website/ts/pages/jobs/open_positions.tsx
index f62922d1c..408e4b720 100644
--- a/packages/website/ts/pages/jobs/open_positions.tsx
+++ b/packages/website/ts/pages/jobs/open_positions.tsx
@@ -106,10 +106,9 @@ export class OpenPositions extends React.Component<OpenPositionsProps, OpenPosit
});
}
const jobInfos = await backendClient.getJobInfosAsync();
- const dummyJobInfos = _.concat(jobInfos, jobInfos, jobInfos, jobInfos);
if (!this._isUnmounted) {
this.setState({
- jobInfos: dummyJobInfos,
+ jobInfos,
});
}
} catch (error) {