diff --git a/components/SideBar.js b/components/SideBar.js index bae915c1..836a3a25 100644 --- a/components/SideBar.js +++ b/components/SideBar.js @@ -1,14 +1,12 @@ -import React from 'react' -import MenuButtonGroup from '@/components/MenuButtonGroup' -import InfoCard from '@/components/InfoCard' -import TagGroups from '@/components/TagGroups' -import LatestPostsGroup from '@/components/LatestPostsGroup' import CategoryGroup from '@/components/CategoryGroup' -import SearchInput from '@/components/SearchInput' -import Link from 'next/link' +import InfoCard from '@/components/InfoCard' +import LatestPostsGroup from '@/components/LatestPostsGroup' +import TagGroups from '@/components/TagGroups' import { useGlobal } from '@/lib/global' -import { FontAwesomeIcon } from '@fortawesome/react-fontawesome' import { faAngleDoubleRight, faArchive, faTags, faThList } from '@fortawesome/free-solid-svg-icons' +import { FontAwesomeIcon } from '@fortawesome/react-fontawesome' +import Link from 'next/link' +import React from 'react' /** * 侧边栏 @@ -26,17 +24,9 @@ const SideBar = ({ title, tags, currentTag, post, posts, categories, currentCate const { locale } = useGlobal() return