From 35d489271577688f8784ec738ea7c240888f5ac6 Mon Sep 17 00:00:00 2001
From: Moritz Stueckler <moritz.stueckler@gmail.com>
Date: Fri, 4 Jun 2021 16:58:45 +0200
Subject: [PATCH] fix: ts errors in select

---
 src/components/Select.tsx | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/components/Select.tsx b/src/components/Select.tsx
index 378c697..10dae91 100644
--- a/src/components/Select.tsx
+++ b/src/components/Select.tsx
@@ -5,6 +5,7 @@ import Tag from './Tag';
 
 const Option = ({ children, data, ...rest }: { children: any; data: any }) => {
   return (
+    // @ts-expect-error: Not typed yet
     <components.Option {...rest}>
       <Tag color={data.value.color}>{children}</Tag>
     </components.Option>
@@ -16,6 +17,7 @@ const Select = <OptionType, isMulti extends boolean>(props: NamedProps<OptionTyp
     control: (provided) => ({ ...provided, border: '0', borderRadius: '0.5em' }),
     multiValue: (provided, state) => ({
       ...provided,
+      // @ts-expect-error: Not typed yet
       backgroundColor: state?.data?.value?.color || 'grey',
       borderRadius: '999px',
       padding: '0 3px',
-- 
GitLab