Photo Gallery is a self-hosted performant application to organize your photos. Built for speed with React and Go, explore your photos quick and easy!

required in type 'AlbumType'#57

Closed
Opened 8/17/20241 commentsby stnc
stnc

![error](https://github.com/user-attachments/assets/cfabeda2-9528-40bd-b280-b72046578747) _**PROBLEM:**_ src/Gallery.tsx:23:7 - error TS2741: Property 'title' is missing in type '{ name: string; photos: never[]; subalbums: never[]; pseudo: false; count: number; }' but required in type 'AlbumType'. **_SOLUTION:_** src/Gallery.tsx:23 I added const defaultData: AlbumType = { **title: "", // I ADDED** name: "", photos: [], subalbums: [], pseudo: false, count: 0, };

AI Analysis

This issue appears to be discussing a feature request or bug report related to the repository. Based on the content, it seems to be resolved. The issue was opened by stnc and has received 1 comments.

Add a comment
Comment form would go here