eslint fix

This commit is contained in:
Danel Kungla
2025-10-07 18:43:42 +03:00
parent f614759986
commit 17e7a98534
29 changed files with 34 additions and 217 deletions

View File

@@ -108,7 +108,7 @@ export default async function AnalysisResultsPage({
)}
<div className="flex flex-col gap-2">
{orderedAnalysisElements ? (
orderedAnalysisElements.map((element, index) => (
orderedAnalysisElements.map((element) => (
<React.Fragment key={element.analysisIdOriginal}>
<Analysis element={element} />
{element.results?.nestedElements?.map(

View File

@@ -1,5 +1,3 @@
import { use } from 'react';
import Link from 'next/link';
import { createI18nServerInstance } from '@/lib/i18n/i18n.server';

View File

@@ -51,7 +51,7 @@ export const BookingProvider: React.FC<{
);
setTimeSlots(response.timeSlots);
setLocations(response.locations);
} catch (error) {
} catch {
setTimeSlots(null);
} finally {
setIsLoadingTimeSlots(false);

View File

@@ -5,7 +5,7 @@ import Link from 'next/link';
import { cn } from '@/lib/utils';
import { pathsConfig } from '@/packages/shared/src/config';
import { ComponentInstanceIcon } from '@radix-ui/react-icons';
import { ChevronRight, HeartPulse } from 'lucide-react';
import { ChevronRight } from 'lucide-react';
import { Button } from '@kit/ui/button';
import {

View File

@@ -1,7 +1,6 @@
import React from 'react';
import { InfoTooltip } from '@/packages/shared/src/components/ui/info-tooltip';
import { HeartPulse } from 'lucide-react';
import { Button } from '@kit/ui/shadcn/button';
import {

View File

@@ -48,7 +48,7 @@ export async function createInitialReservationAction(
export async function cancelTtoBooking(bookingCode: string, clinicId: number) {
try {
const response = await fetch(
await fetch(
`${process.env.CONNECTED_ONLINE_URL}/${ConnectedOnlineMethodName.ConfirmedCancel}`,
{
headers: {

View File

@@ -5,7 +5,7 @@ export const isValidOpenAiEnv = async () => {
const client = new OpenAI();
await client.models.list();
return true;
} catch (e) {
} catch {
return false;
}
};