diff --git a/src/ui/components/Input.tsx b/src/ui/components/Input.tsx index 3737f1a2a..bcc311a61 100644 --- a/src/ui/components/Input.tsx +++ b/src/ui/components/Input.tsx @@ -25,7 +25,7 @@ export const inputStyle = (compact: boolean) => ({ }); const Input = styled('input')(({compact}: {compact?: boolean}) => ({ - ...inputStyle(compact), + ...inputStyle(compact || false), padding: compact ? '0 5px' : '0 10px', }));