From 5499b5fca93dbcc6c7a4937e457a646938a568aa Mon Sep 17 00:00:00 2001
From: "gpt-engineer-app[bot]"
<159125892+gpt-engineer-app[bot]@users.noreply.github.com>
Date: Fri, 17 Apr 2026 00:33:26 +0000
Subject: [PATCH] Changes
Co-authored-by: renee-png <262607627+renee-png@users.noreply.github.com>
---
src/routes/cases.$caseId.tsx | 57 ++++++++++++--------------------
src/routes/clients.$clientId.tsx | 6 ----
2 files changed, 21 insertions(+), 42 deletions(-)
diff --git a/src/routes/cases.$caseId.tsx b/src/routes/cases.$caseId.tsx
index 19aecdb..27741b1 100644
--- a/src/routes/cases.$caseId.tsx
+++ b/src/routes/cases.$caseId.tsx
@@ -18,7 +18,6 @@ import { CaseInvoicesTab } from "@/components/cases/invoices-tab";
import { CaseLitigationTab } from "@/components/cases/litigation-tab";
import { toast } from "sonner";
import { useAuth } from "@/lib/auth";
-import { StartTimerButton } from "@/components/timer/start-timer-button";
export const Route = createFileRoute("/cases/$caseId")({
component: () => (
@@ -106,41 +105,27 @@ function CaseDetail() {
{" · "}{data.practice_area || "—"}{" · "}opened {formatDate(data.opened_at)}
-
-
- {canManage && (
- <>
-
-
- >
- )}
-
+ {canManage && (
+
+
+
+
+ )}
{data.description && (
diff --git a/src/routes/clients.$clientId.tsx b/src/routes/clients.$clientId.tsx
index 9102758..72ec9d9 100644
--- a/src/routes/clients.$clientId.tsx
+++ b/src/routes/clients.$clientId.tsx
@@ -10,7 +10,6 @@ import { ClientFormDialog } from "@/components/clients/client-form-dialog";
import { useAuth } from "@/lib/auth";
import { ArrowLeft, Edit, Plus, Building2, User, Briefcase as Building, MapPin, Mail, Phone, Users } from "lucide-react";
import { formatDate, statusBadgeClass } from "@/lib/format";
-import { StartTimerButton } from "@/components/timer/start-timer-button";
import { toast } from "sonner";
export const Route = createFileRoute("/clients/$clientId")({
@@ -80,11 +79,6 @@ function ClientDetail() {
description={client.management_company || client.client_type.toUpperCase()}
actions={
<>
-
{canEdit && (