fix(web): read panel animation settings in the composer (#13098)
Co-authored-by: Claude Fable 5 <[email protected]>
This commit is contained in:
1 parent
da6a85b136
commit
7c2702d68a
1 file changed
+3
@@ -977,6 +977,7 @@ import {
|
||||
} from "@t3tools/client-runtime/providerSkills";
|
||||
import { searchProviderSkills } from "../../providerSkillSearch";
|
||||
import { useMediaQuery } from "../../hooks/useMediaQuery";
|
||||
import { usePanelAnimationSettings } from "../../panelAnimations";
|
||||
import { useAtomCommand } from "../../state/use-atom-command";
|
||||
import { serverEnvironment } from "../../state/server";
|
||||
import type { ReviewCommentContext } from "../../reviewCommentContext";
|
||||
@@ -4825,6 +4826,8 @@ export const ChatComposer = memo(function ChatComposer(props: ChatComposerProps)
|
||||
) : null}
|
||||
</div>
|
||||
) : null;
|
||||
const { active: panelAnimationsActive, durationMs: panelAnimationDurationMs } =
|
||||
usePanelAnimationSettings();
|
||||
const composerMainSurfaceRef = useComposerRestingTransition(
|
||||
composerControlsInStrip,
|
||||
isComposerResting,
|
||||
|
||||
Reference in new issue
Block a user