We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e0d1d94 commit 35d4823Copy full SHA for 35d4823
ai/ai-react-app/src/components/Layout/LeftSidebar.tsx
@@ -12,9 +12,7 @@ interface LeftSidebarProps {
12
activeBackend: BackendType;
13
setActiveBackend: (backend: BackendType) => void;
14
generativeParams: ModelParams;
15
- setGenerativeParams: (
16
- params: ModelParams | ((prevState: ModelParams) => ModelParams),
17
- ) => void;
+ setGenerativeParams: React.Dispatch<React.SetStateAction<ModelParams>>;
18
}
19
20
/**
0 commit comments