Revert "feat: 实现基础滚动位置恢复功能"

This reverts commit 4042395e3e.
This commit is contained in:
2026-08-08 02:11:10 +08:00
parent 4042395e3e
commit 1550ccb693
7 changed files with 0 additions and 521 deletions

View File

@@ -13,7 +13,6 @@ import BackToTop from '../components/BackToTop';
import { loginPath } from '../utils/authRedirect';
import { useSiteBranding } from '../hooks/useSiteBranding';
import { useNoIndexSEO } from '../hooks/usePageSEO';
import { useScrollRestoration } from '../hooks/useScrollRestoration';
import SiteBrandMark from '../components/SiteBrandMark';
import { api } from '../api/client';
@@ -81,7 +80,6 @@ export default function AdminLayout() {
const { theme, toggle } = useTheme();
const { branding } = useSiteBranding();
useNoIndexSEO('管理后台');
useScrollRestoration();
const isNarrow = useMediaQuery('(max-width: 768px)');
const [navOpen, setNavOpen] = useState(false);
const [pending, setPending] = useState<PendingCounts>({ posts: 0, comments: 0, reports: 0 });