From 2b4dcb419e50cee84b4e4296b9328669c1bec626 Mon Sep 17 00:00:00 2001 From: fragosti Date: Mon, 12 Nov 2018 17:48:13 -0800 Subject: fix: rename handler creator name --- packages/instant/src/components/ui/button.tsx | 2 +- packages/instant/src/components/ui/text.tsx | 2 +- packages/instant/src/util/util.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'packages') diff --git a/packages/instant/src/components/ui/button.tsx b/packages/instant/src/components/ui/button.tsx index 9b8eaad69..e77b1b5d1 100644 --- a/packages/instant/src/components/ui/button.tsx +++ b/packages/instant/src/components/ui/button.tsx @@ -28,7 +28,7 @@ const PlainButton: React.StatelessComponent = ({ type, className, }) => { - const computedOnClick = isDisabled ? undefined : href ? util.createHrefOnClick(href) : onClick; + const computedOnClick = isDisabled ? undefined : href ? util.createOpenUrlInNewWindow(href) : onClick; return (