From a90373f4beb8f85b33e66019f76586d92215f65e Mon Sep 17 00:00:00 2001 From: Maxwell Barvian Date: Thu, 28 Nov 2024 08:39:03 -0800 Subject: [PATCH] Fix build issues --- site/src/components/Nav.tsx | 2 +- .../Tweet/twitter-theme/quoted-tweet/QuotedTweet.astro | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/site/src/components/Nav.tsx b/site/src/components/Nav.tsx index 7b623182..ccbddf0d 100644 --- a/site/src/components/Nav.tsx +++ b/site/src/components/Nav.tsx @@ -1,6 +1,6 @@ import Link from '@/components/Link' import { BookOpen, Shapes, GalleryVerticalEnd } from 'lucide-react' -import { motion, MotionConfig, useMotionTemplate, useMotionValue, useScroll } from 'motion/react' +import { motion, MotionConfig, useMotionTemplate, useMotionValue } from 'motion/react' import * as React from 'react' import clsx from 'clsx/lite' diff --git a/site/src/components/Tweet/twitter-theme/quoted-tweet/QuotedTweet.astro b/site/src/components/Tweet/twitter-theme/quoted-tweet/QuotedTweet.astro index c58499c5..0e7e46b5 100644 --- a/site/src/components/Tweet/twitter-theme/quoted-tweet/QuotedTweet.astro +++ b/site/src/components/Tweet/twitter-theme/quoted-tweet/QuotedTweet.astro @@ -3,7 +3,7 @@ import type { EnrichedQuotedTweet } from '../../utils' import QuotedTweetContainer from './QuotedTweetContainer.astro' import QuotedTweetHeader from './QuotedTweetHeader.astro' import QuotedTweetBody from './QuotedTweetBody.astro' -import TweetMedia from '../TweetMedia.astro' +// import TweetMedia from '../TweetMedia.astro' interface Props { tweet: EnrichedQuotedTweet @@ -14,5 +14,5 @@ const { tweet } = Astro.props - {tweet.mediaDetails?.length ? : null} +