Something went wrong. Try again.
[mirror] A local-first desktop markdown writer with grammar checking, at proto integration, and more github.com/stormlightlabs/writer/releases
Something went wrong. Try again.
123456789import { useLayoutStore } from "$state/stores/layout";import { useReducedMotion } from "motion/react";
export function useSkipAnimation(): boolean { const osReduced = useReducedMotion() ?? false; const appReduced = useLayoutStore((s) => s.reduceMotion); return osReduced || appReduced;}