From c14b7a4473e90a7f40496efcdbd42f25e0165373 Mon Sep 17 00:00:00 2001
From: Ricardo Cino <ricardo@cino.io>
Date: Fri, 1 Jul 2022 08:30:51 +0200
Subject: chore: correctly export/import ui elements

---
 src/components/ui/toggle/index.tsx | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

(limited to 'src/components/ui/toggle/index.tsx')

diff --git a/src/components/ui/toggle/index.tsx b/src/components/ui/toggle/index.tsx
index 856581a21..0629d1a2c 100644
--- a/src/components/ui/toggle/index.tsx
+++ b/src/components/ui/toggle/index.tsx
@@ -6,9 +6,9 @@ import injectStyle, { WithStylesProps } from 'react-jss';
 import { Theme } from '../../../themes';
 import { IFormField } from '../typings/generic';
 
-import { Error } from '../error';
-import { Label } from '../label';
-import { Wrapper } from '../wrapper';
+import Error from '../error';
+import Label from '../label';
+import Wrapper from '../wrapper';
 
 interface IProps
   extends InputHTMLAttributes<HTMLInputElement>,
@@ -122,6 +122,6 @@ class ToggleComponent extends Component<IProps> {
   }
 }
 
-export const Toggle = injectStyle(styles, { injectTheme: true })(
+export default injectStyle(styles, { injectTheme: true })(
   ToggleComponent,
 );
-- 
cgit v1.2.3-70-g09d2

