diff --git a/src/app/(web)/layout.tsx b/src/app/(web)/layout.tsx index 4fad910..db4c359 100644 --- a/src/app/(web)/layout.tsx +++ b/src/app/(web)/layout.tsx @@ -3,8 +3,6 @@ import Image from 'next/image'; import Link from 'next/link'; import { GoogleAnalytics } from 'nextjs-google-analytics'; -import { useCallback } from 'react'; -import { toast } from 'sonner'; import left from '@public/downloads/left.png'; import android from '@public/downloads/right-android.png'; import ios from '@public/downloads/right-ios.png'; @@ -13,10 +11,6 @@ import { cn } from '@/shared/lib'; import { SnowConfetti } from '@/shared/ui/snow-confetti'; export default function Layout({ children }: { children: React.ReactNode }) { - const handleAndroid = useCallback(() => { - toast.error('준비중입니다.'); - }, []); - return ( <> @@ -49,9 +43,12 @@ export default function Layout({ children }: { children: React.ReactNode }) { > ios - + diff --git a/src/features/discovery-detail/ui/app-download-dialog.tsx b/src/features/discovery-detail/ui/app-download-dialog.tsx index 81b03e6..b4d39d8 100644 --- a/src/features/discovery-detail/ui/app-download-dialog.tsx +++ b/src/features/discovery-detail/ui/app-download-dialog.tsx @@ -1,7 +1,5 @@ import Image from 'next/image'; import Link from 'next/link'; -import { useCallback } from 'react'; -import { toast } from 'sonner'; import logo from '@public/assets/logo.svg'; import snow from '@public/assets/snow.png'; import android from '@public/downloads/android.png'; @@ -14,11 +12,7 @@ interface AppDownloadDialogProps { onClose: () => void; } -const AppDownloadDialog = ({ className, onClose }: AppDownloadDialogProps) => { - const handleAndroid = useCallback(() => { - toast.error('준비중입니다.'); - }, []); - +const AppDownloadDialog = ({ className, onClose }: AppDownloadDialogProps) => { return (
{ > ios - -
+ + ); };