Skip to content

Commit

Permalink
fixed missing type definitions
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexBxl committed Dec 3, 2024
1 parent 968a3a3 commit 4aedb86
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,9 @@ export const Settings = () => {
<div style={{ width: 'var(--component-spacing-md)' }}></div>
<Select
value={edgeTypeValue}
onValueChange={(value) => dispatch.settings.setEdgeType(value)}
onValueChange={(value: EdgeType) =>
dispatch.settings.setEdgeType(value)
}
>
<Select.Trigger label="Edge Type" value={edgeTypeValue} />
<Select.Content>
Expand All @@ -166,7 +168,9 @@ export const Settings = () => {
<div style={{ width: 'var(--component-spacing-md)' }}></div>
<Select
value={layoutTypeValue}
onValueChange={(value) => dispatch.settings.setLayoutType(value)}
onValueChange={(value: LayoutType) =>
dispatch.settings.setLayoutType(value)
}
>
<Select.Trigger label="Layout Type" value={layoutTypeValue} />
<Select.Content>
Expand Down

0 comments on commit 4aedb86

Please sign in to comment.