From ef6643e0f329f97cfb47403f89c504cf9a3117c5 Mon Sep 17 00:00:00 2001 From: Anton Tranelis Date: Fri, 10 Oct 2025 12:35:24 +0200 Subject: [PATCH] fix linting --- .../ItemPopupComponents/HeaderView/ItemTitle.tsx | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/lib/src/Components/Map/Subcomponents/ItemPopupComponents/HeaderView/ItemTitle.tsx b/lib/src/Components/Map/Subcomponents/ItemPopupComponents/HeaderView/ItemTitle.tsx index 890af834..f2e26f01 100644 --- a/lib/src/Components/Map/Subcomponents/ItemPopupComponents/HeaderView/ItemTitle.tsx +++ b/lib/src/Components/Map/Subcomponents/ItemPopupComponents/HeaderView/ItemTitle.tsx @@ -1,5 +1,5 @@ -import { useEffect, useRef, useState } from 'react' import { MapPinIcon } from '@heroicons/react/24/solid' +import { useEffect, useRef, useState } from 'react' import { useGeoDistance } from '#components/Map/hooks/useGeoDistance' import { useReverseGeocode } from '#components/Map/hooks/useReverseGeocode' @@ -63,11 +63,11 @@ export function ItemTitle({ ? [ { class: 'tw:text-2xl', pixels: 24 }, { class: 'tw:text-xl', pixels: 20 }, - { class: 'tw:text-lg', pixels: 18 } + { class: 'tw:text-lg', pixels: 18 }, ] : [ { class: 'tw:text-xl', pixels: 20 }, - { class: 'tw:text-lg', pixels: 18 } + { class: 'tw:text-lg', pixels: 18 }, ] let selectedSize = 'tw:text-lg' @@ -99,7 +99,10 @@ export function ItemTitle({ }, [title, big]) return ( -
+