Skip to content

Commit 078c83d

Browse files
committed
fix: lint error in fallback array
1 parent 057aff5 commit 078c83d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/browser/components/ChatInput/RecordingOverlay.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ const SlidingWaveform: React.FC<SlidingWaveformProps> = (props) => {
233233
if (audioError) {
234234
return (
235235
<div className="flex h-full w-full items-center justify-center gap-1">
236-
{[...Array(5)].map((_, i) => (
236+
{[0, 1, 2, 3, 4].map((i) => (
237237
<div
238238
key={i}
239239
className="animate-pulse rounded-full"

0 commit comments

Comments
 (0)