Skip to content

Commit 8d19b66

Browse files
committed
fix(checkbox): 🏷️ type issue with ts ignore temporarily
1 parent a314c0e commit 8d19b66

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/checkbox/CheckboxIcon.tsx

+6-2
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,14 @@ export const CheckboxIcon = forwardRefWithAs<
4141

4242
const compoundStyles = (key: string) => {
4343
return cx(
44+
// TODO: Fix the ts error later
45+
// @ts-ignore
4446
theme.checkbox.icon.state[key],
4547
invalid
46-
? theme.checkbox.icon.state[`${key}_invalid`]
47-
: theme.checkbox.icon.state[`${key}_valid`],
48+
? // @ts-ignore
49+
theme.checkbox.icon.state[`${key}_invalid`]
50+
: // @ts-ignore
51+
theme.checkbox.icon.state[`${key}_valid`],
4852
);
4953
};
5054

0 commit comments

Comments
 (0)