Skip to content

Commit 7c2702d

Browse files
fix(web): read panel animation settings in the composer (pingdotgg#13098)
Co-authored-by: Claude Fable 5 <[email protected]>
1 parent da6a85b commit 7c2702d

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

‎apps/web/src/components/chat/ChatComposer.tsx‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -977,6 +977,7 @@ import {
977977
} from "@t3tools/client-runtime/providerSkills";
978978
import { searchProviderSkills } from "../../providerSkillSearch";
979979
import { useMediaQuery } from "../../hooks/useMediaQuery";
980+
import { usePanelAnimationSettings } from "../../panelAnimations";
980981
import { useAtomCommand } from "../../state/use-atom-command";
981982
import { serverEnvironment } from "../../state/server";
982983
import type { ReviewCommentContext } from "../../reviewCommentContext";
@@ -4825,6 +4826,8 @@ export const ChatComposer = memo(function ChatComposer(props: ChatComposerProps)
48254826
) : null}
48264827
</div>
48274828
) : null;
4829+
const { active: panelAnimationsActive, durationMs: panelAnimationDurationMs } =
4830+
usePanelAnimationSettings();
48284831
const composerMainSurfaceRef = useComposerRestingTransition(
48294832
composerControlsInStrip,
48304833
isComposerResting,

0 commit comments

Comments
 (0)