fix: overflow-x-auto on table, remove unused ipAddress from type
This commit is contained in:
@@ -8,7 +8,7 @@ type FeedbackSubmission = {
|
|||||||
category: 'BUG' | 'FEATURE_REQUEST' | 'GENERAL'
|
category: 'BUG' | 'FEATURE_REQUEST' | 'GENERAL'
|
||||||
message: string
|
message: string
|
||||||
email: string | null
|
email: string | null
|
||||||
ipAddress: string
|
// ipAddress is returned by the API but not displayed in the table (privacy/noise)
|
||||||
reviewed: boolean
|
reviewed: boolean
|
||||||
createdAt: string
|
createdAt: string
|
||||||
}
|
}
|
||||||
@@ -137,7 +137,7 @@ export default function AdminFeedbackPage() {
|
|||||||
)}
|
)}
|
||||||
|
|
||||||
{!loading && !error && filtered.length > 0 && (
|
{!loading && !error && filtered.length > 0 && (
|
||||||
<div className="overflow-hidden rounded-xl border border-zinc-800">
|
<div className="overflow-x-auto rounded-xl border border-zinc-800">
|
||||||
<table className="w-full text-sm">
|
<table className="w-full text-sm">
|
||||||
<thead>
|
<thead>
|
||||||
<tr className="border-b border-zinc-800 text-left text-[11px] font-semibold uppercase tracking-wider text-zinc-500">
|
<tr className="border-b border-zinc-800 text-left text-[11px] font-semibold uppercase tracking-wider text-zinc-500">
|
||||||
|
|||||||
Reference in New Issue
Block a user