From ef403108fb0f5ed2798bc7eb59fa487c323ac1fb Mon Sep 17 00:00:00 2001 From: Ezekiel Aquino Date: Fri, 14 Dec 2018 14:59:22 +0100 Subject: Edits CTA landing section --- packages/website/ts/@next/pages/landing.tsx | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'packages/website/ts/@next/pages') diff --git a/packages/website/ts/@next/pages/landing.tsx b/packages/website/ts/@next/pages/landing.tsx index aa3e829b5..6788e08be 100644 --- a/packages/website/ts/@next/pages/landing.tsx +++ b/packages/website/ts/@next/pages/landing.tsx @@ -29,18 +29,17 @@ export class NextLanding extends React.Component { - - + + ); } - private _onOpenContactModal(e: Event): void { - e.preventDefault(); + private _onOpenContactModal = (): void => { this.setState({ isContactModalOpen: true }); } - private _onDismissContactModal(): void { + private _onDismissContactModal = (): void => { this.setState({ isContactModalOpen: false }); } } -- cgit