mirror of
https://github.com/SableClient/Sable.git
synced 2026-11-29 13:22:47 -08:00
typecheck
This commit is contained in:
1 parent
426296ba23
commit
e0b710f076
1 file changed
+2
-2
@@ -1,6 +1,6 @@
|
||||
import classNames from 'classnames';
|
||||
import { Box, config, Text } from 'folds';
|
||||
import { AnimatePresence, motion, useReducedMotion } from 'framer-motion';
|
||||
import { AnimatePresence, motion, useReducedMotion, type Variants } from 'framer-motion';
|
||||
import { SyncState } from '$types/matrix-sdk';
|
||||
import { type TitlebarStatusView } from '$state/titlebarStatus';
|
||||
import { ContainerColor } from '$styles/ContainerColor.css';
|
||||
@@ -39,7 +39,7 @@ export function getSyncConnectionStatusView(
|
||||
export function SyncConnectionStatusBanner({ status }: SyncConnectionStatusProps) {
|
||||
const shouldReduceMotion = useReducedMotion();
|
||||
|
||||
const bannerVariants = shouldReduceMotion
|
||||
const bannerVariants: Variants = shouldReduceMotion
|
||||
? {
|
||||
hidden: { opacity: 0 },
|
||||
visible: { opacity: 1, transition: { duration: 0.2 } },
|
||||
|
||||
Reference in new issue
Block a user