From f66b12fd1d0b83af0d7230d7b1565fbe00afbe3c Mon Sep 17 00:00:00 2001
From: Rafi Zadanly <zadanlyr@gmail.com>
Date: Wed, 22 Feb 2023 11:03:34 +0700
Subject: prettier

---
 src/core/components/elements/Badge/Badge.jsx | 15 ++++-----------
 1 file changed, 4 insertions(+), 11 deletions(-)

(limited to 'src/core/components/elements/Badge/Badge.jsx')

diff --git a/src/core/components/elements/Badge/Badge.jsx b/src/core/components/elements/Badge/Badge.jsx
index 5d8ebd1c..5e22db1a 100644
--- a/src/core/components/elements/Badge/Badge.jsx
+++ b/src/core/components/elements/Badge/Badge.jsx
@@ -1,14 +1,7 @@
-const Badge = ({ 
-  children, 
-  type, 
-  ...props 
-}) => {
+const Badge = ({ children, type, ...props }) => {
   return (
-    <div 
-      { ...props }
-      className={`${badgeStyle(type)} ${props?.className}`}
-    >
-      { children }
+    <div {...props} className={`${badgeStyle(type)} ${props?.className}`}>
+      {children}
     </div>
   )
 }
@@ -30,4 +23,4 @@ const badgeStyle = (type) => {
   return className.join(' ')
 }
 
-export default Badge
\ No newline at end of file
+export default Badge
-- 
cgit v1.2.3

