Fix missing lucide icon imports in GovernancePage and null-safety in DashboardPage
This commit is contained in:
@@ -11,6 +11,7 @@ import {
|
||||
Edit2,
|
||||
Mail,
|
||||
Shield,
|
||||
ShieldCheck,
|
||||
Layers,
|
||||
ChevronRight,
|
||||
Search,
|
||||
@@ -24,6 +25,7 @@ import {
|
||||
UserPlus,
|
||||
ChevronDown,
|
||||
ChevronUp,
|
||||
CheckCircle,
|
||||
CheckCircle2,
|
||||
Loader2,
|
||||
Lock,
|
||||
|
||||
@@ -1527,7 +1527,7 @@ export function DashboardPage() {
|
||||
</span>
|
||||
)}
|
||||
</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>
|
||||
<span className="text-xs text-[#9A95B0]/70 shrink-0">
|
||||
@@ -2171,7 +2171,7 @@ export function DashboardPage() {
|
||||
<MessageViewer
|
||||
content={selectedNotification.message || ''}
|
||||
platform={selectedNotification.platform}
|
||||
subject={selectedNotification.subject}
|
||||
subject={selectedNotification.subject || undefined}
|
||||
/>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user