We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 005b2d2 commit 43e0291Copy full SHA for 43e0291
src/pages/PredictiveAnalytics.jsx
@@ -27,6 +27,9 @@ export default function PredictiveAnalytics() {
27
queryFn: () => base44.entities.UserProfile.filter({}),
28
enabled: isAdmin
29
});
30
+
31
+ // Null-safe data
32
+ const safeInsights = insights || [];
33
34
const predictChurnMutation = useMutation({
35
mutationFn: async (userEmail) => {
0 commit comments