Skip to content

Commit 9789b05

Browse files
committed
Resolve merge conflict: use correct analytics function in error boundary
2 parents dc2f879 + 6e4abf3 commit 9789b05

File tree

1 file changed

+4
-4
lines changed
  • apps/dashboard/src/app/(app)/team/[team_slug]/(team)/~/support/apis

1 file changed

+4
-4
lines changed

apps/dashboard/src/app/(app)/team/[team_slug]/(team)/~/support/apis/feedback.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -151,14 +151,14 @@ export async function checkFeedbackStatus(
151151
// Comprehensive validation of the API response structure
152152
if (
153153
typeof data.has_feedback !== "boolean" ||
154-
(data.feedback_data !== null &&
154+
(data.feedback_data != null &&
155155
(typeof data.feedback_data !== "object" ||
156156
typeof data.feedback_data.id !== "string" ||
157-
(data.feedback_data.rating !== null &&
157+
(data.feedback_data.rating != null &&
158158
typeof data.feedback_data.rating !== "number") ||
159-
(data.feedback_data.feedback !== null &&
159+
(data.feedback_data.feedback != null &&
160160
typeof data.feedback_data.feedback !== "string") ||
161-
(data.feedback_data.ticket_id !== null &&
161+
(data.feedback_data.ticket_id != null &&
162162
typeof data.feedback_data.ticket_id !== "string") ||
163163
typeof data.feedback_data.created_at !== "string"))
164164
) {

0 commit comments

Comments
 (0)