From 822d1ee1be99b7d96740585ddd1174b94916335d Mon Sep 17 00:00:00 2001
From: lonkaars <l.leblansch@gmail.com>
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 ?
-			<a href={props.href} className="button">{props.text}</a> :
-			<button onClick={props.onclick} className="button">{props.text}</button>
+	return props.href
+		? <a href={props.href} className='button'>{props.text}</a>
+		: <button onClick={props.onclick} className='button'>{props.text}</button>;
 }
-- 
cgit v1.2.3

