Skip to content

Commit

Permalink
[OPIK-536]: fix a type;
Browse files Browse the repository at this point in the history
  • Loading branch information
Sasha committed Dec 13, 2024
1 parent 8de2176 commit 462b614
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -85,12 +85,12 @@ const PlaygroundPrompt = ({
);

const handleUpdateConfig = useCallback(
(newConfigs: PlaygroundPromptConfigsType) => {
(newConfigs: Partial<PlaygroundPromptConfigsType>) => {
onChange(id, {
configs: {
...configs,
...newConfigs,
},
} as PlaygroundPromptConfigsType,
});
},
[configs, id, onChange],
Expand Down

0 comments on commit 462b614

Please sign in to comment.