Enable guest photo deletion and ownership flags
This commit is contained in:
@@ -58,6 +58,7 @@ vi.mock('../services/photosApi', () => ({
|
||||
likePhoto: vi.fn(),
|
||||
unlikePhoto: vi.fn(),
|
||||
createPhotoShareLink: vi.fn(),
|
||||
deletePhoto: vi.fn(),
|
||||
}));
|
||||
|
||||
vi.mock('../components/AppShell', () => ({
|
||||
@@ -103,6 +104,7 @@ vi.mock('lucide-react', () => ({
|
||||
Loader2: () => <span>loader</span>,
|
||||
Download: () => <span>download</span>,
|
||||
X: () => <span>x</span>,
|
||||
Trash2: () => <span>trash</span>,
|
||||
}));
|
||||
|
||||
import GalleryScreen from '../screens/GalleryScreen';
|
||||
|
||||
Reference in New Issue
Block a user