diff options
author | Fred Carlsen <fred@sjelfull.no> | 2018-12-14 18:38:32 +0800 |
---|---|---|
committer | Fred Carlsen <fred@sjelfull.no> | 2018-12-14 18:38:32 +0800 |
commit | ed6d83c0a7a31d5278c355771d38b2c041673ced (patch) | |
tree | 8975702fc43e92c674cd0fc0f41efc30385ea934 /packages/website | |
parent | 66480ccb1e0dc72e6716060ab472b7584bfa910c (diff) | |
download | dexon-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
Diffstat (limited to 'packages/website')
-rw-r--r-- | packages/website/ts/@next/components/newsletter_form.tsx | 4 |
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 }); |