Fix missing lucide icon imports in GovernancePage and null-safety in DashboardPage

This commit is contained in:
2026-10-25 10:35:27 +02:00
parent aeb7542cfe
commit fac88f3471
2 changed files with 4 additions and 2 deletions
@@ -11,6 +11,7 @@ import {
Edit2, Edit2,
Mail, Mail,
Shield, Shield,
ShieldCheck,
Layers, Layers,
ChevronRight, ChevronRight,
Search, Search,
@@ -24,6 +25,7 @@ import {
UserPlus, UserPlus,
ChevronDown, ChevronDown,
ChevronUp, ChevronUp,
CheckCircle,
CheckCircle2, CheckCircle2,
Loader2, Loader2,
Lock, Lock,
@@ -1527,7 +1527,7 @@ export function DashboardPage() {
</span> </span>
)} )}
</div> </div>
<p className="text-xs text-[#9A95B0] mt-1 line-clamp-2">{stripMarkdown(msg.message)}</p> <p className="text-xs text-[#9A95B0] mt-1 line-clamp-2">{stripMarkdown(msg.message || '')}</p>
</div> </div>
</div> </div>
<span className="text-xs text-[#9A95B0]/70 shrink-0"> <span className="text-xs text-[#9A95B0]/70 shrink-0">
@@ -2171,7 +2171,7 @@ export function DashboardPage() {
<MessageViewer <MessageViewer
content={selectedNotification.message || ''} content={selectedNotification.message || ''}
platform={selectedNotification.platform} platform={selectedNotification.platform}
subject={selectedNotification.subject} subject={selectedNotification.subject || undefined}
/> />
</div> </div>