Skip to content

Commit

Permalink
Merge branch 'main' into release
Browse files Browse the repository at this point in the history
  • Loading branch information
reearth-app[bot] committed Nov 1, 2024
2 parents b56be11 + 9e5137e commit afe12f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/src/beta/hooks/useLoadMore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export default ({ data, onLoadMore }: Props) => {
// Check on data change
useEffect(() => {
// This is useful to projects, since current query doesn't take visualizer project only
if (data.length === 0) {
if (data?.length === 0) {
onLoadMoreRef.current?.();
return;
}
Expand Down

0 comments on commit afe12f4

Please sign in to comment.