'use client' import React, { useState } from 'react' import { useTranslation } from 'react-i18next' import { ArrowLeftIcon, Squares2X2Icon } from '@heroicons/react/24/solid' import classNames from '@/utils/classnames' import type { AppDetailResponse } from '@/models/app' type IAppBackProps = { curApp: AppDetailResponse } export default function AppBack({ curApp }: IAppBackProps) { const { t } = useTranslation() const [hovered, setHovered] = useState(false) return (