feat(eslint): add eslint-plugin-unused-imports plugin to check and fix unused imports

This commit is contained in:
WanQuanXie 2024-05-08 14:36:24 +08:00
parent d9ba36794a
commit ddaa40a210
6 changed files with 41 additions and 9 deletions

View file

@ -4,9 +4,8 @@ import { cn } from '@/lib/utils';
import { BookOpenText, Home, Search, SquarePen, Settings } from 'lucide-react';
import Link from 'next/link';
import { useSelectedLayoutSegments } from 'next/navigation';
import React, { Fragment, useState } from 'react';
import React, { useState } from 'react';
import Layout from './Layout';
import { Dialog, Transition } from '@headlessui/react';
import SettingsDialog from './SettingsDialog';
const Sidebar = ({ children }: { children: React.ReactNode }) => {