fix: ref not found error

Signed-off-by: Innei <i@innei.in>
This commit is contained in:
Innei
2024-08-18 12:11:02 +08:00
parent b8be81b210
commit 372e043ed4
@@ -68,6 +68,7 @@ export const PictureMasonry: FC<MasonryProps> = (props) => {
const images = [] as string[]
data.forEach((entryId) => {
const entry = getEntry(entryId)
if (!entry) return
images.push(...imageActions.getImagesFromEntry(entry.entries))
})