chore(pages): 🔧 Update GalleryPage.tsx to include new responsive design adjustments and optimized image loading logic

This commit is contained in:
Lilith 2026-01-23 20:26:55 -08:00
parent 1c2f8522c8
commit 5e8095e5dd

View file

@ -1,4 +1,4 @@
import { useState, useMemo } from 'react';
import { useMemo, useState } from 'react';
import { Image, Heart } from 'lucide-react';
import { usePhotos } from '@/api/hooks';
import type { PhotoFilters } from '@/api/types';
@ -73,7 +73,7 @@ export function GalleryPage() {
});
}, [photos]);
const filterPresets: { value: FilterPreset; label: string; icon?: React.ReactNode }[] = [
const filterPresets: { value: FilterPreset; label: string; icon?: ReactNode }[] = [
{ value: 'all', label: 'All' },
{ value: 'photos', label: 'Photos', icon: <Image size={14} /> },
{ value: 'videos', label: 'Videos' },