Skip to content

Commit aaea690

Browse files
committed
fix: default value not set
1 parent 37fb02e commit aaea690

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/webview/components/Wizard/Renderer.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ interface Props {
1313
export const Renderer: React.FC<Props> = ({ wizard, vscode }) => {
1414
const isSingleTab = wizard.tabs.length === 1;
1515
const initialValues: FormikValues = wizard.tabs.reduce((acc: FormikValues, tab) => {
16-
tab.fields.reduce((acc: FormikValues, field) => {
16+
tab.fields.reduce((_: FormikValues, field) => {
1717
if (field.type === WizardInput.Select && field.multiple) {
1818
acc[field.id] = field.initialValue ?? [];
1919
return acc;

0 commit comments

Comments
 (0)