diff --git a/apps/dokploy/components/dashboard/application/schedules/show-schedules.tsx b/apps/dokploy/components/dashboard/application/schedules/show-schedules.tsx index 9cab9ed9e..e87e953fd 100644 --- a/apps/dokploy/components/dashboard/application/schedules/show-schedules.tsx +++ b/apps/dokploy/components/dashboard/application/schedules/show-schedules.tsx @@ -34,7 +34,9 @@ interface Props { } export const ShowSchedules = ({ id, scheduleType = "application" }: Props) => { - const [runningSchedules, setRunningSchedules] = useState>(new Set()); + const [runningSchedules, setRunningSchedules] = useState>( + new Set(), + ); const { data: schedules, isLoading: isLoadingSchedules, @@ -51,8 +53,7 @@ export const ShowSchedules = ({ id, scheduleType = "application" }: Props) => { const utils = api.useUtils(); const { mutateAsync: deleteSchedule, isLoading: isDeleting } = api.schedule.delete.useMutation(); - const { mutateAsync: runManually } = - api.schedule.runManually.useMutation(); + const { mutateAsync: runManually } = api.schedule.runManually.useMutation(); const handleRunManually = async (scheduleId: string) => { setRunningSchedules((prev) => new Set(prev).add(scheduleId)); @@ -174,7 +175,9 @@ export const ShowSchedules = ({ id, scheduleType = "application" }: Props) => { variant="ghost" size="icon" disabled={runningSchedules.has(schedule.scheduleId)} - onClick={() => handleRunManually(schedule.scheduleId)} + onClick={() => + handleRunManually(schedule.scheduleId) + } > {runningSchedules.has(schedule.scheduleId) ? ( diff --git a/apps/dokploy/components/dashboard/impersonation/impersonation-bar.tsx b/apps/dokploy/components/dashboard/impersonation/impersonation-bar.tsx index a5aae598c..b96b7c866 100644 --- a/apps/dokploy/components/dashboard/impersonation/impersonation-bar.tsx +++ b/apps/dokploy/components/dashboard/impersonation/impersonation-bar.tsx @@ -281,7 +281,7 @@ export const ImpersonationBar = () => {
diff --git a/apps/dokploy/components/layouts/user-nav.tsx b/apps/dokploy/components/layouts/user-nav.tsx index ca5854196..337e8f483 100644 --- a/apps/dokploy/components/layouts/user-nav.tsx +++ b/apps/dokploy/components/layouts/user-nav.tsx @@ -44,7 +44,7 @@ export const UserNav = () => { >