Skip to content

Commit

Permalink
chore: check against missing onError
Browse files Browse the repository at this point in the history
  • Loading branch information
Caele committed Nov 3, 2024
1 parent da0257c commit ec6e6f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apis/nucleus/src/components/Cell.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -518,7 +518,7 @@ const Cell = forwardRef(
if (state.loading && !state.longRunningQuery) {
Content = <LoadingSn />;
} else if (state.error) {
onError(state.error.errorObject);
onError && onError(state.error.errorObject);
Content = <CError {...state.error} />;
} else if (state.loaded) {
Content = (
Expand Down

0 comments on commit ec6e6f9

Please sign in to comment.