Skip to content

Commit

Permalink
fix: ref not found error
Browse files Browse the repository at this point in the history
Signed-off-by: Innei <i@innei.in>
  • Loading branch information
Innei committed Aug 18, 2024
1 parent b8be81b commit 372e043
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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))
})
Expand Down

0 comments on commit 372e043

Please sign in to comment.