chore(pages): 🔧 Update GalleryPage.tsx to include new responsive design adjustments and optimized image loading logic
This commit is contained in:
parent
1c2f8522c8
commit
5e8095e5dd
1 changed files with 2 additions and 2 deletions
|
|
@ -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' },
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue