mirror of
https://github.com/ahmadk953/tasko.git
synced 2025-05-01 03:09:34 +00:00
Formated Files
This commit is contained in:
parent
d5631b309a
commit
e768d9181f
138 changed files with 1829 additions and 1851 deletions
|
@ -1,13 +1,13 @@
|
|||
"use client";
|
||||
'use client';
|
||||
|
||||
import { Menu } from "lucide-react";
|
||||
import { usePathname } from "next/navigation";
|
||||
import { useMobileSidebar } from "@/hooks/use-mobile-sidebar";
|
||||
import { Menu } from 'lucide-react';
|
||||
import { usePathname } from 'next/navigation';
|
||||
import { useMobileSidebar } from '@/hooks/use-mobile-sidebar';
|
||||
|
||||
import { useEffect, useState } from "react";
|
||||
import { Button } from "@/components/ui/button";
|
||||
import { Sheet, SheetContent } from "@/components/ui/sheet";
|
||||
import { Sidebar } from "./sidebar";
|
||||
import { useEffect, useState } from 'react';
|
||||
import { Button } from '@/components/ui/button';
|
||||
import { Sheet, SheetContent } from '@/components/ui/sheet';
|
||||
import { Sidebar } from './sidebar';
|
||||
|
||||
export const MobileSidebar = () => {
|
||||
const pathname = usePathname();
|
||||
|
@ -33,15 +33,15 @@ export const MobileSidebar = () => {
|
|||
<>
|
||||
<Button
|
||||
onClick={onOpen}
|
||||
className="block md:hidden mr-2"
|
||||
variant="ghost"
|
||||
size="sm"
|
||||
className='mr-2 block md:hidden'
|
||||
variant='ghost'
|
||||
size='sm'
|
||||
>
|
||||
<Menu className="h-4 w-4" />
|
||||
<Menu className='h-4 w-4' />
|
||||
</Button>
|
||||
<Sheet open={isOpen} onOpenChange={onClose}>
|
||||
<SheetContent side="left" className="p-2 pt-10">
|
||||
<Sidebar storageKey="t-sidebar-mobile-state" />
|
||||
<SheetContent side='left' className='p-2 pt-10'>
|
||||
<Sidebar storageKey='t-sidebar-mobile-state' />
|
||||
</SheetContent>
|
||||
</Sheet>
|
||||
</>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue