Skip to content

Commit 1cc6338

Browse files
committed
Remove unnecessary props type for Dropdown
This removes the `disabled` prop from the `Dropdown` component. This is already included in the default HTML props of the `select` component, so it's not necessary to add it again.
1 parent 8e83999 commit 1cc6338

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

extensions/ql-vscode/src/view/common/Dropdown.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { styled } from "styled-components";
44

55
const DISABLED_VALUE = "-";
66

7-
const StyledDropdown = styled.select<{ disabled?: boolean }>`
7+
const StyledDropdown = styled.select`
88
width: 100%;
99
height: calc(var(--input-height) * 1px);
1010
background: var(--vscode-dropdown-background);

0 commit comments

Comments
 (0)