"use client" import { useState } from 'react'; import { useRouter } from 'next/navigation'; import { Plus } from 'lucide-react'; import { Button } from '@/components/ui/button'; import FormClient from './client/FormClient'; import FilterComponent from './FilterComponent'; // interface ShellProps { // currentView: 'clients' | 'assignments'; // } export default function HomeTask() { const router = useRouter(); const [showForm, setShowForm] = useState(false); // Update URL when Tabs change // const handleTabChange = (view: string) => { // const params = new URLSearchParams(searchParams!); // params.set('view', view); // params.delete('status'); // router.push(`${pathname}?${params.toString()}`); // }; return ( <>
Something that can be done at any time is often done at no time.