mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-24 10:28:03 +01:00
Upgrade other react dependencies
This commit is contained in:
@@ -3,8 +3,8 @@
|
||||
|
||||
import React, { type ReactNode } from 'react';
|
||||
import lodash from 'lodash';
|
||||
import type { Transition } from 'framer-motion';
|
||||
import { motion } from 'framer-motion';
|
||||
import type { Transition } from 'motion/react';
|
||||
import { motion } from 'motion/react';
|
||||
import type { ReadonlyDeep } from 'type-fest';
|
||||
|
||||
import { tw } from '../../../axo/tw.dom.js';
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
import type { ForwardedRef, ReactNode } from 'react';
|
||||
import React, { forwardRef, memo, useCallback, useMemo, useState } from 'react';
|
||||
import { Tabs } from 'radix-ui';
|
||||
import { AnimatePresence, motion } from 'framer-motion';
|
||||
import { AnimatePresence, motion } from 'motion/react';
|
||||
import type { LocalizerType } from '../../../types/I18N.std.js';
|
||||
import { tw } from '../../../axo/tw.dom.js';
|
||||
import { AxoIconButton } from '../../../axo/AxoIconButton.dom.js';
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
import React, { memo, useState, useEffect, useRef } from 'react';
|
||||
import { Checkbox } from 'radix-ui';
|
||||
import { AnimatePresence, motion } from 'framer-motion';
|
||||
import { AnimatePresence, motion } from 'motion/react';
|
||||
import { type TailwindStyles, tw } from '../../../axo/tw.dom.js';
|
||||
import { AxoButton } from '../../../axo/AxoButton.dom.js';
|
||||
import { AxoSymbol } from '../../../axo/AxoSymbol.dom.js';
|
||||
@@ -356,7 +356,7 @@ export function PollMessageContents({
|
||||
</div>
|
||||
|
||||
<div className={tw('mt-4 flex h-10 items-center justify-center')}>
|
||||
<AnimatePresence exitBeforeEnter initial={false}>
|
||||
<AnimatePresence mode="wait" initial={false}>
|
||||
{totalVotes > 0 ? (
|
||||
<motion.div
|
||||
key="view-votes"
|
||||
|
||||
Reference in New Issue
Block a user