Skip to content

Commit 57ccc2a

Browse files
committed
fix more violations
1 parent 979d1ac commit 57ccc2a

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

src/components/FeedbackModerationTopBar.tsx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -163,10 +163,11 @@ export function FeedbackModerationTopBar({
163163
<FilterDropdownSection title="Date Range">
164164
<div className="space-y-3">
165165
<div>
166-
<label className="block text-xs font-medium text-gray-600 dark:text-gray-400 mb-1">
166+
<label htmlFor="from" className="block text-xs font-medium text-gray-600 dark:text-gray-400 mb-1">
167167
From
168168
</label>
169169
<input
170+
id="from"
170171
type="date"
171172
value={filters.dateFrom || ''}
172173
onChange={(e) =>
@@ -176,10 +177,11 @@ export function FeedbackModerationTopBar({
176177
/>
177178
</div>
178179
<div>
179-
<label className="block text-xs font-medium text-gray-600 dark:text-gray-400 mb-1">
180+
<label htmlFor="to" className="block text-xs font-medium text-gray-600 dark:text-gray-400 mb-1">
180181
To
181182
</label>
182183
<input
184+
id="to"
183185
type="date"
184186
value={filters.dateTo || ''}
185187
onChange={(e) =>

src/components/ImageUpload.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,7 @@ export function ImageUpload({
138138
</button>
139139
</div>
140140
) : (
141+
// eslint-disable-next-line jsx-a11y/click-events-have-key-events, jsx-a11y/no-static-element-interactions
141142
<div
142143
onClick={() => fileInputRef.current?.click()}
143144
onDrop={handleDrop}

0 commit comments

Comments
 (0)