From 822d1ee1be99b7d96740585ddd1174b94916335d Mon Sep 17 00:00:00 2001 From: lonkaars Date: Mon, 12 Apr 2021 10:25:43 +0200 Subject: dprint formatter :tada: --- components/button.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'components/button.tsx') diff --git a/components/button.tsx b/components/button.tsx index 452d85f..23201aa 100644 --- a/components/button.tsx +++ b/components/button.tsx @@ -3,7 +3,7 @@ export default function Button(props: { href?: string; onclick?: () => void; }) { - return props.href ? - {props.text} : - + return props.href + ? {props.text} + : ; } -- cgit v1.2.3