Skip to content

Commit

Permalink
fix: framer motion bg layout
Browse files Browse the repository at this point in the history
Signed-off-by: Innei <i@innei.in>
  • Loading branch information
Innei committed Apr 30, 2024
1 parent ae6de0e commit 1643f95
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/(app)/friends/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

import { useQuery } from '@tanstack/react-query'
import { memo, useCallback, useRef, useState } from 'react'
import { AnimatePresence, m } from 'framer-motion'
import { m } from 'framer-motion'
import Markdown from 'markdown-to-jsx'
import type { LinkModel } from '@mx-space/api-client'
import type { FormContextType } from '~/components/ui/form'
Expand Down Expand Up @@ -159,7 +159,7 @@ const Card: FC<{ link: LinkModel }> = ({ link }) => {
onMouseEnter={() => setEnter(true)}
onMouseLeave={() => setEnter(false)}
>
<AnimatePresence mode="wait">{enter && <LayoutBg />}</AnimatePresence>
{enter && <LayoutBg />}

<Avatar
randomColor
Expand Down

0 comments on commit 1643f95

Please sign in to comment.