Skip to content

Commit 35d4823

Browse files
paulb777dlarocque
andauthored
Update ai/ai-react-app/src/components/Layout/LeftSidebar.tsx
Co-authored-by: Daniel La Rocque <dlarocque@google.com>
1 parent e0d1d94 commit 35d4823

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

ai/ai-react-app/src/components/Layout/LeftSidebar.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,7 @@ interface LeftSidebarProps {
1212
activeBackend: BackendType;
1313
setActiveBackend: (backend: BackendType) => void;
1414
generativeParams: ModelParams;
15-
setGenerativeParams: (
16-
params: ModelParams | ((prevState: ModelParams) => ModelParams),
17-
) => void;
15+
setGenerativeParams: React.Dispatch<React.SetStateAction<ModelParams>>;
1816
}
1917

2018
/**

0 commit comments

Comments
 (0)