diff --git a/biome.json b/biome.json
index c1baa08..b1e0f71 100644
--- a/biome.json
+++ b/biome.json
@@ -35,13 +35,15 @@
"suspicious": {
"noUnknownAtRules": "off",
"useIterableCallbackReturn": "off",
- "noArrayIndexKey": "warn",
+ "noArrayIndexKey": "off",
"noExplicitAny": "off"
},
"a11y": {
"useSemanticElements": "off",
"useButtonType": "off",
- "noAutofocus": "off"
+ "noAutofocus": "off",
+ "useMediaCaption": "off",
+ "noStaticElementInteractions": "off"
},
"performance": {
"noImgElement": "warn"
diff --git a/services/frontend/src/app/(dashboard)/dashboard/view.tsx b/services/frontend/src/app/(dashboard)/dashboard/view.tsx
index 202420f..45375e4 100644
--- a/services/frontend/src/app/(dashboard)/dashboard/view.tsx
+++ b/services/frontend/src/app/(dashboard)/dashboard/view.tsx
@@ -253,7 +253,10 @@ export function DashboardView({
{m.top_emojis.slice(0, 3).map((e, i) => (
-
+
{e.emoji}
))}
diff --git a/services/frontend/src/components/charts/donut.tsx b/services/frontend/src/components/charts/donut.tsx
index dab9f7d..c70018e 100644
--- a/services/frontend/src/components/charts/donut.tsx
+++ b/services/frontend/src/components/charts/donut.tsx
@@ -21,7 +21,13 @@ export function Donut({
className="relative inline-flex items-center justify-center"
style={{ width: size, height: size }}
>
-
) : (
- filtered.map((c, i) => (
-
- ))
+ );
+ return c.href ? (
+
setActive(i)}
+ onClick={() => setOpen(false)}
+ className="block"
+ >
+ {row}
+
+ ) : (
+
+ );
+ })
)}
diff --git a/services/frontend/src/components/primitives/avatar.tsx b/services/frontend/src/components/primitives/avatar.tsx
index abf40e4..fd17c80 100644
--- a/services/frontend/src/components/primitives/avatar.tsx
+++ b/services/frontend/src/components/primitives/avatar.tsx
@@ -35,12 +35,11 @@ export function Avatar({
style={dim}
>
{src ? (
- // eslint-disable-next-line @next/next/no-img-element
-