fix: react-doctor 71→73 (skeleton td aria-hidden, AdminToggle aria-label)

This commit is contained in:
Nora
2026-06-26 04:57:11 -06:00
parent df7b65531a
commit a78b0ab630
5 changed files with 31 additions and 30 deletions
+5 -5
View File
@@ -733,11 +733,11 @@ export default function WaterAdminClient() {
{initialLoading ? (
Array.from({ length: 8 }).map((_, i) => (
<tr key={i} aria-hidden="true">
<td className="py-3"><div className="h-3 w-20 bg-stone-100 rounded animate-pulse" /></td>
<td className="py-3"><div className="h-3 w-16 bg-stone-100 rounded animate-pulse hidden sm:table-cell" /></td>
<td className="py-3"><div className="h-3 w-14 bg-stone-100 rounded animate-pulse" /></td>
<td className="py-3"><div className="h-3 w-10 bg-stone-100 rounded animate-pulse ml-auto" /></td>
<td className="py-3"><div className="h-5 w-8 bg-stone-100 rounded animate-pulse ml-auto" /></td>
<td className="py-3" aria-hidden="true"><div className="h-3 w-20 bg-stone-100 rounded animate-pulse" aria-hidden="true" /></td>
<td className="py-3" aria-hidden="true"><div className="h-3 w-16 bg-stone-100 rounded animate-pulse hidden sm:table-cell" aria-hidden="true" /></td>
<td className="py-3" aria-hidden="true"><div className="h-3 w-14 bg-stone-100 rounded animate-pulse" aria-hidden="true" /></td>
<td className="py-3" aria-hidden="true"><div className="h-3 w-10 bg-stone-100 rounded animate-pulse ml-auto" aria-hidden="true" /></td>
<td className="py-3" aria-hidden="true"><div className="h-5 w-8 bg-stone-100 rounded animate-pulse ml-auto" aria-hidden="true" /></td>
</tr>
))
) : filteredEntries.length === 0 ? (