From ae9bc1d2330720b02fcbd082160dddb609657f1d Mon Sep 17 00:00:00 2001 From: Willy Douhard Date: Thu, 19 Dec 2024 17:36:21 +0100 Subject: [PATCH] chore: prepare release (#1595) --- backend/pyproject.toml | 2 +- frontend/src/components/organisms/sidebar/index.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/pyproject.toml b/backend/pyproject.toml index aedd569552..11c8a5b681 100644 --- a/backend/pyproject.toml +++ b/backend/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "chainlit" -version = "2.1.dev0" +version = "2.0rc1" keywords = [ 'LLM', 'Agents', diff --git a/frontend/src/components/organisms/sidebar/index.tsx b/frontend/src/components/organisms/sidebar/index.tsx index 95342fa22c..0d5a40f021 100644 --- a/frontend/src/components/organisms/sidebar/index.tsx +++ b/frontend/src/components/organisms/sidebar/index.tsx @@ -21,7 +21,7 @@ import { ThreadHistory } from './threadHistory'; const DRAWER_WIDTH = 260; const SideBar = () => { - const user = useAuth(); + const { user } = useAuth(); const isMobile = useMediaQuery('(max-width:66rem)'); const [settings, setSettings] = useRecoilState(settingsState);