aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFred Carlsen <fred@sjelfull.no>2018-12-14 18:38:32 +0800
committerFred Carlsen <fred@sjelfull.no>2018-12-14 18:38:32 +0800
commited6d83c0a7a31d5278c355771d38b2c041673ced (patch)
tree8975702fc43e92c674cd0fc0f41efc30385ea934
parent66480ccb1e0dc72e6716060ab472b7584bfa910c (diff)
downloaddexon-sol-tools-ed6d83c0a7a31d5278c355771d38b2c041673ced.tar
dexon-sol-tools-ed6d83c0a7a31d5278c355771d38b2c041673ced.tar.gz
dexon-sol-tools-ed6d83c0a7a31d5278c355771d38b2c041673ced.tar.bz2
dexon-sol-tools-ed6d83c0a7a31d5278c355771d38b2c041673ced.tar.lz
dexon-sol-tools-ed6d83c0a7a31d5278c355771d38b2c041673ced.tar.xz
dexon-sol-tools-ed6d83c0a7a31d5278c355771d38b2c041673ced.tar.zst
dexon-sol-tools-ed6d83c0a7a31d5278c355771d38b2c041673ced.zip
Linting error
-rw-r--r--packages/website/ts/@next/components/newsletter_form.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/website/ts/@next/components/newsletter_form.tsx b/packages/website/ts/@next/components/newsletter_form.tsx
index 381dca53b..00bba4aec 100644
--- a/packages/website/ts/@next/components/newsletter_form.tsx
+++ b/packages/website/ts/@next/components/newsletter_form.tsx
@@ -30,7 +30,7 @@ const Input: React.ReactNode = React.forwardRef((props: InputProps, ref) => {
});
export class NewsletterForm extends React.Component {
- public emailInput = React.createRef();
+ public emailInput = React.createRef<HTMLInputElement>();
public state = {
isSubmitted: false,
};
@@ -58,7 +58,7 @@ export class NewsletterForm extends React.Component {
e.preventDefault();
const email = this.emailInput.current.value;
- const referrer = "https://0xproject.com/";
+ const referrer = 'https://0xproject.com/';
this.setState({ isSubmitted: true });