Fix match modal question display

This commit is contained in:
jjbrunton committed 2026-01-17 23:00:36 +00:00
1 parent 3e70669a27
commit e28dcc1592
2 files changed
+6 -4

No files matched your search

+1 -1
View File
@@ -392,7 +392,7 @@ export default function AppLayout() {
.eq("id", payload.new.id)
.single();
if (matchWithQuestion) {
if (matchWithQuestion && matchWithQuestion.question) {
// Track milestone events before adding (so count is accurate)
const currentMatchCount = matches.length;
if (currentMatchCount === 0) {